Results 1 to 2 of 2

Thread: CL_OUT_OF_RESOURCES in clEnqueueNDRangeKernel

  1. #1
    Junior Member
    Join Date
    Feb 2012

    CL_OUT_OF_RESOURCES in clEnqueueNDRangeKernel


    I've realized that sometimes clEnqueueNDRangeKernel returns CL_OUT_OF_RESOURCES.
    I've a kernel with a lot of operations in double loops. If the loops have small limits all runs ok, but if I change the limits to others biggers it returns CL_OUT_OF_RESOURCES.

    Anyone know the reason? Is it possible a time out relationship?
    Any help will be sincerely appreciated.


  2. #2
    Senior Member
    Join Date
    Aug 2011

    Re: CL_OUT_OF_RESOURCES in clEnqueueNDRangeKernel

    Assuming you're not out of memory, usually it means your code crashed on the card.

    Try calling clFinish() after every clEnqueueNDRangeKernel call to see which one is actually causing the crash (because jobs are queued, otherwise you have no way of knowing which one actually crashed).

Similar Threads

  1. CL_OUT_OF_RESOURCES problem
    By nachovall in forum OpenCL
    Replies: 3
    Last Post: 03-25-2011, 03:04 AM
  2. CL_OUT_OF_RESOURCES on clEnqueueReadBuffer
    By bharath.s.jois in forum OpenCL
    Replies: 0
    Last Post: 02-27-2011, 03: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
Proudly hosted by Digital Ocean