cuda.bindings.nvml.EventSetGetContextInfo_v1#

class cuda.bindings.nvml.EventSetGetContextInfo_v1#

Empty-initialize an instance of nvmlEventSetGetContextInfo_v1_t.

See also

nvmlEventSetGetContextInfo_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an EventSetGetContextInfo_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an EventSetGetContextInfo_v1 instance wrapping the given pointer.

Attributes

data_format_version

[out] Payload format version for sourceEventContextType.

data_size

[out] Context payload size in bytes, excluding alignment padding.

index

[in] Zero-based context index.

nvml_gpu_operational_event_context_type

[out] nvmlGpuOperationalEventContextType_t value describing the NVML public interpretation of the context payload.

ptr

Get the pointer address to the data as Python int.

source_event_context_type

[out] Source-defined context payload type identifier carried by the event.