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.

:param size: number of structs, default=1.
:type size: int

.. seealso:: `nvmlProcessInfo_t`
__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

from_data(data)

from_ptr(intptr_t ptr, size_t size=1, ...)

Attributes

compute_instance_id

gpu_instance_id

pid

ptr

used_gpu_memory