Im having a trouble in my app
I have declared this 2 vars
__constant__ unsigned short dev_array_dst; __constant__ unsigned int dev_fail;
now, when i have the host vars, and make the copy to the device vars, only is copying the value of a single array.
Im using this code
HANDLE_ERROR( cudaMemcpyToSymbol (dev_fail, host_fail, 400 * sizeof(unsigned int)) ); HANDLE_ERROR( cudaMemcpyToSymbol (dev_array_dst, host_orig_dst, 4032 * sizeof(unsigned short)) );
but in the kernel, Im only getting the values of the array dev_fail, the another is empty.
can someone explain me why im having this problem or tell me how can I solve this?
thank you very much.