|
FireSync API
|
| kStatus kCudaUtils_Copy | ( | kCudaStream | stream, |
| void * | dest, | ||
| const void * | src, | ||
| kSize | size, | ||
| kCudaSync | sync = kCUDA_SYNC_DEFAULT |
||
| ) |
Copies data from one memory address to another.
Supports arbitrary source/destination memory pointers; all memory types supported.
| stream | Cuda stream. |
| dest | Destination for the memory copy. |
| src | Source for the memory copy. |
| size | Size of memory block to be copied, in bytes. |
| sync | Synchronization mode; if unspecified, mode is determined from default stream sync mode. |