I am facing a problem while copying data from host memory to device memory.
I am using cuMemcpyHtoD to copy host data to device data and allocating the device memory before calling that function. After this call when i take this memory back to host memory on some other data pointer, its showing all the values garbage (not equal to what i am copying there).
I am using 64 bit system with opensuse 10.1 and trying it on GT 8600.
Please suggest what i can do to solve this problem.
Thanks in advance