View Single Post
Old 2009-11-16, 10:26   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

22×3×883 Posts
Default

Quote:
Originally Posted by xilman View Post
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
xilman is offline   Reply With Quote