cuda.bindings._v2.driver.device_get_graph_mem_attribute#
- cuda.bindings._v2.driver.device_get_graph_mem_attribute(
- int device,
- int attr,
Return a graph memory attribute of a device, in bytes.
- Parameters:
device (int) – Device ordinal.
attr (int) – A
GraphMemAttributevalue (USED_MEM_CURRENT,USED_MEM_HIGH,RESERVED_MEM_CURRENTorRESERVED_MEM_HIGH).
- Returns:
The attribute value, in bytes.
- Return type:
See also
cuDeviceGetGraphMemAttribute