Results 1 to 4 of 4

Thread: Error codes: clSetKernelArg

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Error codes: clSetKernelArg

    Hello
    I got error code 1 returned by clSetKernelArg() function; I see error names but I dont know how they all map to these error codes?

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

    Re: Error codes: clSetKernelArg

    That doesn't look like a valid error code from clSetKernelArg(). Could it be returning -1 instead?

    To match error codes with mnemonics, look in the header file cl.h. For example, -1 would be CL_DEVICE_NOT_FOUND.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Re: Error codes: clSetKernelArg

    Quote Originally Posted by david.garcia
    That doesn't look like a valid error code from clSetKernelArg(). Could it be returning -1 instead?

    To match error codes with mnemonics, look in the header file cl.h. For example, -1 would be CL_DEVICE_NOT_FOUND.
    Okay thank you. I solved the problem anyway.

  4. #4

    Re: Error codes: clSetKernelArg

    I have the same problem.
    How did you solve the problem?

Similar Threads

  1. WFD Error Codes Thread Safe?
    By lewk in forum OpenWF
    Replies: 2
    Last Post: 07-12-2011, 09:04 AM
  2. Obtaing error strings from codes
    By louiswu in forum OpenCL
    Replies: 2
    Last Post: 02-04-2010, 12:20 PM

Posting Permissions

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