cuda.core.system.EventData#

class cuda.core.system.EventData(event_data: nvml.EventData)#

Data about a single event.

Methods

__init__(*args, **kwargs)#

Attributes

compute_instance_id#

The Compute instance ID for MIG devices.

Only valid for events of type EventType.EVENT_TYPE_XID_CRITICAL_ERROR.

Raises ValueError for other event types.

device#

The device on which the event occurred.

event_data#

Returns Xid error for the device in the event of EVENT_TYPE_XID_CRITICAL_ERROR.

Raises ValueError for other event types.

event_type#

The type of event that was triggered.

gpu_instance_id#

The GPU instance ID for MIG devices.

Only valid for events of type EventType.EVENT_TYPE_XID_CRITICAL_ERROR.

Raises ValueError for other event types.