cuda.core.system.MemoryInfo#

class cuda.core.system.MemoryInfo(memory_info: nvml.Memory_v2)#

Memory allocation information for a device.

free#

int

Unallocated device memory (in bytes)

Type:

MemoryInfo.free

reserved#

int

Device memory (in bytes) reserved for system use (driver or firmware)

Type:

MemoryInfo.reserved

total#

int

Total physical device memory (in bytes)

Type:

MemoryInfo.total

used#

int

Allocated device memory (in bytes)

Type:

MemoryInfo.used

Methods

__init__(*args, **kwargs)#