Results 1 to 3 of 3

Thread: clEnqueueNDRangeKernel() returns with error code "-54"

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

    clEnqueueNDRangeKernel() returns with error code "-54"

    Hello
    I got clEnqueueNDRangeKernel() returns with error code "-54" after I try to run program but I dont know what this error code means. I have seen it on forums that all error codes are written in "CL/cl.h" file but I couldnt find this file in my AMD SDK installation. Can someone help me what error code "-54" means, and whats default location of "cl.h" file? Thanks

  2. #2

    Re: clEnqueueNDRangeKernel() returns with error code "-54"

    my cl.h says:

    #define CL_INVALID_WORK_GROUP_SIZE -54

    I'm using xcode so I don't know where AMD's SDK puts it....

    Me, I just pass in NULL and let the implementation choose a workgroup size....

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

    Re: clEnqueueNDRangeKernel() returns with error code "-54"

    ok thank you

Similar Threads

  1. A weird problem with "clEnqueueNDRangeKernel"!
    By shafiee01 in forum OpenCL
    Replies: 3
    Last Post: 08-15-2012, 10:20 PM
  2. Replies: 1
    Last Post: 12-15-2010, 04:49 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
  •