I am trying the sample code 1 from the programming guide page 1-20, which is a memset program. However the kernel seems not working at all while there are no error and no warning. The buffer appears to be all 0 no matter how I change the kernel.
const char *source =
"_kernel void memset(_global uint* dst) \n"
" dst[get_global_id(0)] = 1; \n"