cuda.bindings._v2.driver.device_get_luid#

cuda.bindings._v2.driver.device_get_luid(int dev) → tuple#

Return an LUID and device node mask for the device.

Return identifying information (luid and device_node_mask) to allow matching device with graphics APIs.

Parameters:

dev (int) – Device to get identifier string for.

Returns:

  • bytes: Returned LUID.

  • unsigned int: Returned device node mask.

Return type:

A 2-tuple containing

See also

cuDeviceGetLuid