I'm trying to debug a basic kernel, but every time I start gDEBugger it reaches the kernel and throws a warning saying "Could not debug kernel. This kernel uses unsupported features. Please check the release notes for more details."
As far as I can tell, my kernel isn't doing anything wrong according to the release notes.
This is the kernel I have:
kernel void polypoints(global float* global_coeffs, local float* coeffs, const int num_coeffs, global float* results, const int num_results, const float start_t, const float delta_t)
for(int i = get_local_id(0); i < num_coeffs; i += get_local_size(0))
coeffs[i] = global_coeffs[i];
float t = start_t + delta_t * get_global_id(0);
float ans = 0;
for(int j = 0; j < num_coeffs; ++j)
ans += coeffs[j] * pown(t,num_coeffs - j - 1);
if(get_global_id(0) < num_results)
results[get_global_id(0)] = ans;
What's going on? I took the getting started guide's advice and didn't modify my code at all. Do I need to add some compile options (I think in the past there were some compiler flags for debugging opencl code using gdb)?
By itself the kernel compiles and runs.