Results 1 to 4 of 4

Thread: CL_OUT_OF_RESOURCES problem

  1. #1



    My program is launching a CL_OUT_OF_RESOURCES after enqueue a kernel. I'm pretty sure that is not a memory or registers issue. Basically because I tried with a very simple kernel with very few registers and I get the same error. In addition the memory arrays I am allocating in GPU are small (up to 200 cl_float2).

    Is there some way to query which is exactly the reason why I get out of resources?

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

    Re: CL_OUT_OF_RESOURCES problem

    Did you pass a callback function when you called clCreateContext(). The callback may provide additional information about the error.
    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

    Re: CL_OUT_OF_RESOURCES problem

    Quote Originally Posted by david.garcia
    Did you pass a callback function when you called clCreateContext()
    No, I didn't. I'll try it. Thank you.

  4. #4

    Re: CL_OUT_OF_RESOURCES problem

    I created the context with a call back function. It seems that the call back function does not handle the error lauched by the kernel. I read the following in the OpenCL especification:

    NOTE: There are a number of cases where error notifications need to be delivered due to an error that occurs outside a context. Such notifications may not be delivered through the pfn_notify callback. Where these notifications go is implementation-defined.

    May be my error occurs outside the context? If it is, is there some way to get more information about the error?


Similar Threads

  1. Replies: 1
    Last Post: 05-31-2012, 04:47 PM
  2. Replies: 4
    Last Post: 11-30-2009, 02:31 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