cuda.core.system.MemoryInfo#
- class cuda.core.system.MemoryInfo(memory_info: nvml.Memory_v2)#
Memory allocation information for a device.
Methods
- __init__(*args, **kwargs)#
Attributes
- free#
Unallocated device memory (in bytes)
- reserved#
Device memory (in bytes) reserved for system use (driver or firmware)
- total#
Total physical device memory (in bytes)
- used#
Allocated device memory (in bytes)