AOE API Error Codes

Definitions of AOE API error codes are in the header file aoe_errcodes.h.

Table 1 AOE API error codes

Name

Value

Description

AOE_FAILURE

-1

General AOE error

AOE_SUCCESS

0

Success

AOE_ERROR_MEMORY_ALLOC

1

Memory allocation failure

AOE_ERROR_INVALID_PARAM

2

Invalid parameter

AOE_ERROR_UNINITIALIZED

3

API not initialized

AOE_ERROR_REPEAT_INITIALIZE

4

API initialized repeatedly

AOE_ERROR_INVALID_SESSION

5

Invalid session ID

AOE_ERROR_BUSY

6

Blocked multi-thread call

AOE_ERROR_INVALID_GRAPH

7

Invalid tuning graph

AOE_ERROR_NON_OPTIMIZE_GRAPH

8

No tuning graph

AOE_ERROR_DYNAMIC_GRAPH

9

Dynamic graphs not supported by the tuning service

AOE_ERROR_DYNAMIC_SHAPE_RANGE

10

Dynamic shape (operator tuning)

AOE_ERROR_INVALID_OPTION_ATTR

11

Option attribute error

AOE_ERROR_TUNING_ERROR

100

Other tuning errors