pub unsafe extern "C" fn cuStreamWriteValue64_v2(
stream: CUstream,
addr: CUdeviceptr,
value: cuuint64_t,
flags: c_uint,
) -> CUresult
Expand description
\brief Write a value to memory
Write a value to memory.
If the memory was registered via ::cuMemHostRegister(), the device pointer should be obtained with ::cuMemHostGetDevicePointer().
Support for this can be queried with ::cuDeviceGetAttribute() and ::CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS.
\param stream The stream to do the write in. \param addr The device address to write to. \param value The value to write. \param flags See ::CUstreamWriteValue_flags.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_NOT_SUPPORTED \notefnerr
\sa ::cuStreamWriteValue32, ::cuStreamWaitValue32, ::cuStreamWaitValue64, ::cuStreamBatchMemOp, ::cuMemHostRegister, ::cuEventRecord