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