cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

maxbarraclough
Journeyman III

CodeXL cannot debug when cl_program is created from short string containing #include of the .cl

When calling clCreateProgramWithSource, one can input a string of the form

char str[] = "#include \"my_kernel.cl\"";

and avoid having to manually read the file into an array.

Although the kernel will execute correctly, CodeXL is unable to bind breakpoints in OpenCL kernel code if this technique is used.

(I'm running the latest CodeXL, the latest Catalyst drivers, and VS2010 Premium, on Windows 8.1.)

0 Likes
0 Replies