|
FireSync API
|
| kStatus kCudaStream_AttachMemory | ( | kCudaStream | stream, |
| kPointer | mem, | ||
| kCudaSync | sync = kCUDA_SYNC_DEFAULT |
||
| ) |
Attaches serial managed memory to a stream.
Refer to kCudaManagedAlloc for details on serial managed memory attachment.
This method has no effect on other types of memory.
| stream | Cuda stream. |
| mem | Memory to attach. |
| sync | Synchronization mode. |