I am in cuda-gdb, I can use ((@global float *)array)[0]
but how to use constant memory in gdb ?
I try ((@parameter float *)const_array)
I declared const_array like this :
__constant__ float const_array[1 << 14]
I tried with 1 << 5, and it's the same problem.
Try putting you
__constant__into.cuh, then use as a classic C global variable.