|
FireSync API
|
| kStatus kCudaUtils_DetachArrayFromStream | ( | kCudaStream | stream, |
| kArrayProvider | array, | ||
| kCudaSync | sync = kCUDA_SYNC_DEFAULT |
||
| ) |
Detaches an array's internal buffer from 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. |
| array | Array to be attached to stream. |
| sync | Synchronization mode; if unspecified, mode is determined from default stream sync mode. |