|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
30 #define STM_API __attribute__((visibility("default")))
118 static const char* stmErrorCodeNames[] = {
120 "STM_ERROR_EXPECTED",
121 "STM_ERROR_NOT_INITIALIZED",
122 "STM_ERROR_BAD_PARAMETER",
123 "STM_ERROR_NOT_SUPPORTED",
125 "STM_ERROR_NOT_FOUND",
126 "STM_ERROR_INVALID_STATE",
128 "STM_ERROR_BAD_VALUE",
129 "STM_ERROR_NVSCISYNC",
131 "STM_ERROR_NVSCISYNC_TIMEOUT",
134 "STM_ERROR_INSUFFICIENT_MEMORY",
137 "STM_ERROR_NVMEDIA_LDC",
138 "STM_ERROR_NVMEDIA_2D",
139 "STM_ERROR_CONNECTION",
140 "STM_ERROR_UNKNOWN_CLOCK",
141 "STM_ERROR_FAILED_READING_TIMESTAMPS",
142 "STM_ERROR_UNKNOWN_STATE",
143 "STM_ERROR_BAD_STATE_TRANSITION",
144 "STM_ERROR_SCHEDULE_ID_INVALID",
147 return stmErrorCodeNames[(uint32_t)err];
158 #endif //STM_ERROR_H_
@ STM_ERROR_BAD_STATE_TRANSITION
@ STM_ERROR_CUDLA
CUDLA operation in STM returned an error.
@ STM_ERROR_BAD_VALUE
Invalid value in STM.
@ STM_ERROR_INSUFFICIENT_MEMORY
[ENOMEM] Not enough memory
@ STM_ERROR_EXPECTED
Failure in one of the allowed/expected ways.
@ STM_ERROR_FAILED_READING_TIMESTAMPS
@ STM_ERROR_NOT_SUPPORTED
Operation not supported.
@ STM_ERROR_NVSCISYNC
NvSciSync operation in STM returned an error.
@ STM_ERROR_SCHEDULE_ID_INVALID
@ STM_ERROR_NVMEDIA_LDC
NVMEDIA_LDC operation in STM returned an error.
@ STM_ERROR_NVSCISYNC_TIMEOUT
NvSciSync operation in STM timed out.
@ STM_ERROR_VULKAN
Vulkan operation in STM returned an error.
@ STM_ERROR_NOT_INITIALIZED
STM client context not initialized through previous call to stmClientInit()
@ STM_ERROR_UNKNOWN_STATE
@ STM_ERROR_NOT_FOUND
Lookup failed in STM.
@ STM_ERROR_NVMEDIA_2D
NVMEDIA_2D operation in STM returned an error.
@ STM_SUCCESS
[EOK] No error
@ STM_ERROR_CUDA
CUDA operation in STM returned an error.
@ STM_ERROR_SYNC
Synchronization operation in STM returned an error.
@ STM_ERROR_GENERIC
Generic error; no other information.
@ STM_ERROR_PVA
CUPVA operation in STM returned an error.
@ STM_ERROR_TIMEOUT
Operation timeout.
@ STM_ERROR_UNKNOWN_CLOCK
@ STM_ERROR_BAD_PARAMETER
Invalid parameter value.
stmErrorCode_t
Return/error codes for all STM functions.
@ STM_ERROR_INVALID_STATE
STM in invalid state.
static const char * stmErrorCodeToString(stmErrorCode_t err)
Convert STM error code to string representation.