cuda.bindings.nvml.event_set_get_context_data_v1#

cuda.bindings.nvml.event_set_get_context_data_v1(
intptr_t set,
unsigned int index,
) bytes#

Copies the raw payload for a context record from the most recent event returned by event_set_wait_v3().

For Turing™ or newer fully supported devices.

For Linux only.

Parameters:
  • set (EventSet) – Handle to the event set.

  • index (unsigned int) – Zero-based index of the context record to retrieve.

Returns:

The context payload as a bytes object.

Return type:

bytes

See also

nvmlEventSetGetContextData_v1