cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sajis997
Adept I

CL_OUT_OF_RESOURCES with the call clCreateFromGLTexture2D()

Hi forum,

I am trying to create OpenCL image from the OpenGL Texture object with the OpenCL 1.1 at nvidia driver . I am getting the error as mentioned above.

Basically  i am having it while integrating the OpenSceneGraph rendering system with OpenCL.

I have tested the function clCreateFromGLTexture2D() itself with some other small sample function and it worked fine there.

When we get "CL_OUT_OF_RESOURCES" with "clCreateFromGLTexture2D()" what exactly does it mean ? We get this error with several other OpenCL API functions as well.

When do we usually get this type of error ?

Some explanations might help me to track the problem.

Thanks

0 Likes
3 Replies
pinform
Staff

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/:
As per the reference pages, CL_OUT_OF_RESOURCES occurs if there is a failure to allocate resources required by the OpenCL implementation on the device.

0 Likes

When they mention OpenCL resources , what do they refer to ?

Are they memory or something else ?

0 Likes

It is memory,

Regards,

Ravi

0 Likes