cuda.bindings.nvml.AccountingStats#

class cuda.bindings.nvml.AccountingStats#

Empty-initialize an instance of nvmlAccountingStats_t.

See also

nvmlAccountingStats_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an AccountingStats instance with the memory from the given buffer.

from_data(data)

Create an AccountingStats instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an AccountingStats instance wrapping the given pointer.

Attributes

gpu_utilization

int:

is_running

int:

max_memory_usage

int:

memory_utilization

int:

ptr

Get the pointer address to the data as Python int.

start_time

int:

time

int: