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
*pithe integer value of the attributeattribon devicedev.- Parameters:
attrib (DeviceAttribute) – Device attribute to query.
dev (int) – Device handle.
- Returns:
Returned device attribute value.
- Return type:
See also
cuDeviceGetAttribute