Results 1 to 3 of 3

Thread: blcoking clReleaseCommandQueue crashes

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    blcoking clReleaseCommandQueue crashes

    I currently used last AMD OpencCL implementation on and intel core quad.

    I enqueued some commands in a command queue (buffer read/write/copy, ndrange, ...), and I release the command queue used.

    clReleaseCommandQueue seems to be blocking and crashes at end of execution...

    Is the blocking and crash behaviors understandable ?
    Specification seems to say that it should only decrement a reference counter in that case...

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Location
    Northern Europe
    Posts
    311

    Re: blcoking clReleaseCommandQueue crashes

    Calling clReleaseCommandQueue should never crash as long as you call it only once for any call to clRetain... plus once for the initial creation. E.g., command queues should have a effective user-level retain count of 1 on creation. (They may have extra internal retain counts, but if it crashes when you call it once then there's a bug in the implementation.)

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    Re: blcoking clReleaseCommandQueue crashes

    nVidia implementation works fine : non blocking and no crash.

Similar Threads

  1. clBuildProgram crashes
    By AlexAtOSU in forum OpenCL
    Replies: 2
    Last Post: 08-11-2010, 09:22 AM
  2. RunIfNotReady crashes
    By harishv in forum OpenMAX IL
    Replies: 0
    Last Post: 06-01-2010, 04:26 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
  •