Invalid Argument error when copying data from device to host

后端 未结 4 1358
[愿得一人]
[愿得一人] 2021-01-14 16:57

I am having problems copying data from my device back to the host. My data are arranged in a struct:

typedef struct Array2D {
    double* arr;        
    in         


        
4条回答
  •  长情又很酷
    2021-01-14 17:40

    This (copying device-allocated memory using cudaMemcpy) is a known limitation in CUDA 4.1. A fix is in the works and will be released in a future version of the CUDA runtime.

提交回复
热议问题