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,
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?
I think I found the solution. OpenCl is maintained by Khronos group, www.khronos.org. They have the OpenCL API, specs and references. AMD, in this site, offers the openemu, openCl emulator/debugger.