AnsweredAssumed Answered

CL resources

Question asked by nibal on Dec 8, 2014
Latest reply on Dec 9, 2014 by nibal

Very new to openCL. While running an openCL application, I get:

 

[!] CL Error (-34, /home/nikos/work/gr-fosphor/lib/fosphor/cl.c:461): Unable to share waterfall texture into OpenCL context

 

In reference to source:

/* GL shared objects */

/* Waterfall texture */

cl->mem_waterfall = clCreateFromGLTexture(cl->ctx,

     CL_MEM_WRITE_ONLY, GL_TEXTURE_2D, 0,

     fosphor_gl_get_shared_id(self, GL_ID_TEX_WATERFALL),

     &err);

CL_ERR_CHECK(err, "Unable to share waterfall texture into OpenCL context");

 

This is a setup issue. Sources are correct and work elsewhere. I was just wandering where i can find programming resources, like error codes, library calls and data strauctures, since i will be doing development. Any specific tools to debug cl code?

 

TIA,

Nikos

Outcomes