cuda.bindings._v2.driver.device_get_attribute#

cuda.bindings._v2.driver.device_get_attribute(int attrib, int dev) → int#

Returns information about the device.

Returns in *pi the integer value of the attribute attrib on device dev.

Parameters:
Returns:

Returned device attribute value.

Return type:

int

See also

cuDeviceGetAttribute