cuda.bindings.nvml.event_set_register_gpu_operational_events_v1#

cuda.bindings.nvml.event_set_register_gpu_operational_events_v1(
intptr_t event_set,
config,
)#

Adds a GPU Operational Event subscription to an event set.

This API is separate from nvmlDeviceRegisterEvents. Calling this API opts the event set into the structured GPU Operational Event format for the target GPU UUID. Subscriptions are identified by config; registering the same subscription more than once is treated as success. nvmlDeviceRegisterEvents and nvmlEventSetRegisterGpuOperationalEvents_v1 may both be used on the same event set. In that mixed-subscription model, NVML event-bit subscriptions continue to deliver event bits such as nvmlEventTypeXidCriticalError, while GPU Operational Event subscriptions deliver NVML_EVENT_DATA_TYPE_GPU_OPERATIONAL_EVENT records through nvmlEventSetWait_v3 with eventType set to nvmlEventTypeNone. The same underlying incident may generate both an NVML event-bit notification and a structured notification. This API supports GPU UUID subscriptions. For Turing ™️ or newer fully supported devices. For Linux only.

Parameters:
  • event_set (intptr_t) – Event set created by nvmlEventSetCreate.

  • config (intptr_t) – GPU Operational Event subscription configuration.

See also

nvmlEventSetRegisterGpuOperationalEvents_v1