View Single Post
2009-11-16, 10:26   #2
xilman
Bamboozled!

"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

245448 Posts

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