cuda.bindings._v2.driver.memset_d8_v2#

cuda.bindings._v2.driver.memset_d8_v2(uint64_t dst_device, unsigned char uc, size_t n)#

Initializes device memory.

Sets the memory range of n 8-bit values to the specified value uc.

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

  • uc (unsigned char) – Value to set.

  • n (size_t) – number of elements.

See also

cuMemsetD8_v2