cuda.bindings.nvml.ProcessInfo#
- class cuda.bindings.nvml.ProcessInfo(size=1)#
Empty-initialize an array of nvmlProcessInfo_t.
The resulting object is of length size and of dtype process_info_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlProcessInfo_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an ProcessInfo instance with the memory from the given buffer.
from_data(data)Create an ProcessInfo instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...)Create an ProcessInfo instance wrapping the given pointer.
Attributes
compute_instance_idUnion[~_numpy.uint32, int]:
gpu_instance_idUnion[~_numpy.uint32, int]:
pidUnion[~_numpy.uint32, int]:
ptrGet the pointer address to the data as Python
int.used_gpu_memoryUnion[~_numpy.uint64, int]: