|
FireSync API
|
| kStatus kCudaUtils_AssignArray | ( | kCudaStream | stream, |
| kArrayProvider | destination, | ||
| kArrayProvider | source, | ||
| kCudaSync | sync = kCUDA_SYNC_DEFAULT |
||
| ) |
Assigns an array-based data type.
This method provides the same functionality as kArrayProvider_Assign, but allows the synchronization mode to be specified as a call argument, rather than automatically derived from the stream's default synchronization mode.
| stream | Cuda stream. |
| destination | Destination array (must be of same type as source array). |
| source | Source array. |
| sync | Synchronization mode; if unspecified, mode is determined from default stream sync mode. |