NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
stm_error.h File Reference

Detailed Description

Return/error codes for all STM functions.

This enumeration contains unique return/error codes to identify the source of a failure. Some errors have direct correspondence to standard errno.h codes, indicated [IN BRACKETS], and may result from failures in lower level system calls. Others indicate failures specific to misuse of STM library functions.

Definition in file stm_error.h.

Go to the source code of this file.

Typedefs

typedef enum stmErrorCode_t stmErrorCode_t
 Return/error codes for all STM functions. More...
 

Enumerations

enum  stmErrorCode_t {
  STM_SUCCESS = 0,
  STM_ERROR_EXPECTED,
  STM_ERROR_NOT_INITIALIZED,
  STM_ERROR_BAD_PARAMETER,
  STM_ERROR_NOT_SUPPORTED,
  STM_ERROR_TIMEOUT,
  STM_ERROR_NOT_FOUND,
  STM_ERROR_INVALID_STATE,
  STM_ERROR_GENERIC,
  STM_ERROR_BAD_VALUE,
  STM_ERROR_NVSCISYNC,
  STM_ERROR_SYNC,
  STM_ERROR_NVSCISYNC_TIMEOUT,
  STM_ERROR_CUDA,
  STM_ERROR_VULKAN,
  STM_ERROR_INSUFFICIENT_MEMORY,
  STM_ERROR_CUDLA,
  STM_ERROR_PVA,
  STM_ERROR_NVMEDIA_LDC,
  STM_ERROR_NVMEDIA_2D,
  STM_ERROR_CONNECTION,
  STM_ERROR_UNKNOWN_CLOCK,
  STM_ERROR_FAILED_READING_TIMESTAMPS,
  STM_ERROR_UNKNOWN_STATE,
  STM_ERROR_BAD_STATE_TRANSITION,
  STM_ERROR_SCHEDULE_ID_INVALID,
  STM_NUM_ERROR_CODES
}
 Return/error codes for all STM functions. More...
 

Functions

static const char * stmErrorCodeToString (stmErrorCode_t err)
 Convert STM error code to string representation. More...