cuda.bindings._v2.driver.memset_d32_v2#

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

Initializes 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.

See also

cuMemsetD32_v2