cuda.bindings._v2.driver.stream_write_value64_v2#
- cuda.bindings._v2.driver.stream_write_value64_v2(
- intptr_t stream,
- uint64_t addr,
- uint64_t value,
- unsigned int flags,
Write a value to memory.
Write a value to memory. If the memory was registered via
cuMemHostRegister(), the device pointer should be obtained withcuMemHostGetDevicePointer(). Support for this can be queried withdevice_get_attribute()andCU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS.- Parameters:
stream (intptr_t) – The stream to do the write in.
addr (uint64_t) – The device address to write to.
value (uint64_t) – The value to write.
flags (unsigned int) – See
CUstreamWriteValue_flags.
See also
cuStreamWriteValue64_v2