cuda.bindings.nvml.Memory_v2#
- class cuda.bindings.nvml.Memory_v2#
Empty-initialize an instance of nvmlMemory_v2_t.
See also
nvmlMemory_v2_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an Memory_v2 instance with the memory from the given buffer.
from_data(data)Create an Memory_v2 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an Memory_v2 instance wrapping the given pointer.
Attributes
freeint:
ptrGet the pointer address to the data as Python
int.reservedint:
totalint:
usedint:
versionint: