Quote:
Originally Posted by xilman
Code:
/* Copy results from device to host memory */
cutilSafeCall (cudaMemcpy (h_output, d_output, 2 & MEM_SIZE,
cudaMemcpyDeviceToHost));
The fact that everything works except my code suggests that I have a conceptual error rather than a system bug.
|
Found the problem --- a simple and silly typo. The '&' key is next to the '*' key on my keyboard...
Paul