Hi, I heard that cudamemcpy is supported in device code for device to device copies. Is it possible to use cudamemcpy inside a kernel for device to host copies?
Thanks
Hi, I heard that cudamemcpy is supported in device code for device to device copies. Is it possible to use cudamemcpy inside a kernel for device to host copies?
Thanks
No.
[url]Programming Guide :: CUDA Toolkit Documentation
“Only device-to-device memcpy is permitted”