nvmlCPERCursor_v1_t#

struct nvmlCPERCursor_v1_t#

CPER query and cursor parameters.

Groups the filter options and opaque read position used to iterate through CPER records.

Cursor semantics for iterative calls:

  • Pass the same nvmlCPERCursor_v1_t (i.e. the same cursor) on every call in a single iteration sequence.

  • Do not modify this struct between calls.

  • To change cperTypeMask or uuid, set handle to NVML_CPER_CURSOR_HANDLE_INIT and call again with the updated filter (this starts a new iteration).

Public Members

unsigned int cperTypeMask#

[IN] Types of records to access. Bitmask of nvmlCPERType_t values. To change, reset handle to NVML_CPER_CURSOR_HANDLE_INIT.

char uuid[80]#

[IN] UUID of target to filter records for. Required for NVML_CPER_ACCESS_TYPE_GPU. To change, reset handle to NVML_CPER_CURSOR_HANDLE_INIT.

nvmlCPERCursorHandle_t handle#

[IN/OUT] Opaque handle tracking read position. Initialize to NVML_CPER_CURSOR_HANDLE_INIT on first call; pass the same nvmlCPERCursor_v1_t on the next call to continue. Caller must not interpret or modify.