cuda.bindings._v2.driver.memset_d16_v2#
- cuda.bindings._v2.driver.memset_d16_v2(uint64_t dst_device, unsigned short us, size_t n)#
Initializes device memory.
Sets the memory range of
n16-bit values to the specified valueus. Thedst_devicepointer must be two byte aligned.- Parameters:
dst_device (uint64_t) – Destination device pointer.
us (unsigned short) – Value to set.
n (size_t) – number of elements.
See also
cuMemsetD16_v2