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