cuda.bindings._v2.driver.stream_write_value32_v2#

cuda.bindings._v2.driver.stream_write_value32_v2(
intptr_t stream,
uint64_t addr,
uint32_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 with cuMemHostGetDevicePointer(). This function cannot be used with managed memory (cuMemAllocManaged).

Parameters:
  • stream (intptr_t) – The stream to do the write in.

  • addr (uint64_t) – The device address to write to.

  • value (uint32_t) – The value to write.

  • flags (unsigned int) – See CUstreamWriteValue_flags.

See also

cuStreamWriteValue32_v2