|
FireSync API
|
| kStatus kCudaUtils_MemSet | ( | kCudaStream | stream, |
| void * | dest, | ||
| kByte | fill, | ||
| kSize | size, | ||
| kCudaSync | sync = kCUDA_SYNC_DEFAULT |
||
| ) |
Sets a block of memory to the given byte value.
For non-device memory, this operation will always be synchronous (equivalent to kMemCopy).
| stream | Cuda stream. |
| dest | Destination for the memory set operation. |
| fill | Value to be set. |
| size | Size of memory block to be set, in bytes. |
| sync | Synchronization mode; if unspecified, mode is determined from default stream sync mode. |