Results 1 to 2 of 2

Thread: reg kernel

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    13

    reg kernel

    can we return value from kernel function

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: reg kernel

    No, that is not allowed. From section 6.8 of the spec:

    The function using the __kernel qualifier can only have return type void in the
    source code.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. reg kernel function
    By paviraj_1989 in forum OpenCL
    Replies: 1
    Last Post: 03-19-2011, 05:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •