clDNN
Error Handling
Collaboration diagram for Error Handling:

Macros

#define CLDNN_SUCCESS   0
 
#define CLDNN_ERROR   -1
 
#define CLDNN_INVALID_ARG   -2
 
#define CLDNN_OUT_OF_RESOURCES   -3
 
#define CLDNN_DEVICE_ERROR   -4
 
#define CLDNN_UNSUPPORTED_SIZE   -5
 
#define CLDNN_UNSUPPORTED_FORMAT   -6
 
#define CLDNN_DIMENSION_MISMATCH   -7
 
#define CLDNN_ALLOC_SIZE_EXCEEDED   -8
 
#define CLDNN_GLOBAL_SIZE_EXCEEDED   -9
 

Typedefs

typedef int32_t cldnn_status
 Represents errors status for all API calls.
 

Functions

CLDNN_API const char * cldnn_get_last_error_message ()
 If cldnn function returns status different than CLDNN_SUCCESS, user call this function to get more details. More...
 

Detailed Description

Function Documentation

◆ cldnn_get_last_error_message()

CLDNN_API const char* cldnn_get_last_error_message ( )

If cldnn function returns status different than CLDNN_SUCCESS, user call this function to get more details.

Returns
pointer to array of chars with more detailed description of last error.
Note
If sequence of error occure, description of only last error will avaiable