cuda.bindings._v2.driver.memset_d32_async#

cuda.bindings._v2.driver.memset_d32_async(
uint64_t dst_device,
unsigned int ui,
size_t n,
intptr_t h_stream,
)#

Sets device memory.

Sets the memory range of n 32-bit values to the specified value ui. The dst_device pointer must be four byte aligned.

Parameters:
  • dst_device (uint64_t) – Destination device pointer.

  • ui (unsigned int) – Value to set.

  • n (size_t) – number of elements.

  • h_stream (intptr_t) – Stream identifier.

See also

cuMemsetD32Async