cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nibal
Challenger

CL resources

Jump to solution

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

Tags (2)
0 Likes
1 Solution

Accepted Solutions
nibal
Challenger

Re: CL resources

Jump to solution

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.

View solution in original post

0 Likes
1 Reply
nibal
Challenger

Re: CL resources

Jump to solution

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.

0 Likes