3 Replies Latest reply on Jan 27, 2014 3:47 AM by ravkum

    CL_OUT_OF_RESOURCES with the call clCreateFromGLTexture2D()

    sajis997

      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