Fills the first count
bytes of the memory area pointed to by devPtr
with the constant byte value value
.
- Parameters:
-
| devPtr | - Pointer to device memory |
| value | - Value to set for each byte of specified memory |
| count | - Size in bytes to set |
- Returns:
- cudaSuccess, cudaErrorInvalidValue, cudaErrorInvalidDevicePointer
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaMemset2D, cudaMemset3D