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#

int

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.

Type:

EventData.compute_instance_id

device#

Device

The device on which the event occurred.

Type:

EventData.device

event_data#

int

Returns Xid error for the device in the event of :member:`EventType.EVENT_TYPE_XID_CRITICAL_ERROR`.

Raises ValueError for other event types.

Type:

EventData.event_data

event_type#

EventType

The type of event that was triggered.

Type:

EventData.event_type

gpu_instance_id#

int

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.

Type:

EventData.gpu_instance_id