cuda.bindings.nvml.system_get_cper_v1#
- cuda.bindings.nvml.system_get_cper_v1()#
Retrieves Common Platform Error Record (CPER) data.
Records are returned in a caller-supplied buffer. Iteration is driven by the
cursor(nvmlCPERCursor_v1_t) struct: pass the samecursoron every call in a sequence; the implementation updatescursor.handle. Do not modifycursorbetween calls. To changecursor.cperTypeMaskorcursor.uuid, setcursor.handletoNVML_CPER_CURSOR_HANDLE_INITand call again (new iteration). For a size query, call withbufferNULL andbufferSize0; the function returnsNVML_ERROR_INSUFFICIENT_SIZEand setsbufferSizewhen records exist, orNVML_SUCCESSwithbufferSizeset to 0 when there are no CPER records. UsebufferSize== 0 on return as the indicator for “no records” or “no more records”. This API requires root privileges. Records are available from initialization.- Returns:
- Pointer to an
nvmlGetCPER_v1_t. On entry set cursor.cperTypeMask,cursor.uuid(empty string for all),cursor.handle(toNVML_CPER_CURSOR_HANDLE_INITfor first call),buffer(or NULL),bufferSize. On returncursor.handleandbufferSizeare updated.
- Pointer to an
- Return type:
nvmlGetCPER_v1_t
See also
nvmlSystemGetCPER_v1