cuda.bindings._v2.driver.device_total_mem_v2#

cuda.bindings._v2.driver.device_total_mem_v2(int dev) → size_t#

Returns the total amount of memory on the device.

Returns in *bytes the total amount of memory available on the device dev in bytes.

Parameters:

dev (int) – Device handle.

Returns:

Returned memory available on device in bytes.

Return type:

size_t

See also

cuDeviceTotalMem_v2