cuda.bindings.nvml.OperationalEventContextInfo_v1#

class cuda.bindings.nvml.OperationalEventContextInfo_v1#

Empty-initialize an instance of nvmlOperationalEventContextInfo_v1_t.

See also

nvmlOperationalEventContextInfo_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an OperationalEventContextInfo_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an OperationalEventContextInfo_v1 instance wrapping the given pointer.

Attributes

data_format_version

int:

data_size

int:

nvml_gpu_operational_event_context_type

int:

ptr

Get the pointer address to the data as Python int.

source_event_context_type

int: