Results 1 to 4 of 4

Thread: clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES -

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1

    clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES -

    hi i have a problem with clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES -5.
    I explain: I developped a code meshing of point cloud data in GPGPU using OpenCL SDK cuda5 in the GPGPU card is a Tesla C2070, it works for a number of point, when I increase the number Point, gives me an error CL_OuT_OF_RESSOURCES at clEnqueueReadBuffer, that is to say when I want to read the GPGPU memory, could you help me with this problem.
    thank you :P .

  2. #2
    Senior Member
    Join Date
    Oct 2012
    Posts
    165

    Re: clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES

    Have you checked the availability of your device?

    5.1 (Unavailable devices)
    -------------------------
    o If a device(s) becomes unavailable after a context and command-queues that use
    this device(s) have been created and commands have been queued to them, the
    implementation will fail with the CL_OUT_OF_RESOURCES error for further API
    calls. The state of the commands enqueued so far is left undefined.

    The application should destroy the objects associated with such a context and
    re-query the available device list.
    From CUDA OpenCL_Implementation_Notes.txt

  3. #3

    Re: clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES

    Hi bajil, I have had the same inexplicable error on a perfectly valid clEnqueueReadBuffer call before on my GeForce GTX 560 Ti. I have always found that it was as a result of one of my kernels having a bug, normally an out-of-bounds memory access.

  4. #4
    Senior Member
    Join Date
    Oct 2012
    Posts
    165

    Re: clEnqueueReadBuffer gives the error CL_OUT_OF_RESOURCES

    correct. That will kill the device on an invalid mem access, which will follow in an out of resources i think.

Similar Threads

  1. CL_OUT_OF_RESOURCES on clEnqueueReadBuffer
    By bharath.s.jois in forum OpenCL
    Replies: 3
    Last Post: 10-21-2011, 04:13 AM
  2. CL_OUT_OF_RESOURCES on clEnqueueReadBuffer
    By bharath.s.jois in forum OpenCL
    Replies: 0
    Last Post: 02-27-2011, 04:59 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
  •