enum dnnl_status_t

Overview

Status values returned by the library functions. More…

#include <dnnl_common_types.h>

enum dnnl_status_t
{
    dnnl_success           = 0,
    dnnl_out_of_memory     = 1,
    dnnl_invalid_arguments = 2,
    dnnl_unimplemented     = 3,
    dnnl_last_impl_reached = 4,
    dnnl_runtime_error     = 5,
    dnnl_not_required      = 6,
    dnnl_invalid_graph     = 7,
    dnnl_invalid_graph_op  = 8,
    dnnl_invalid_shape     = 9,
    dnnl_invalid_data_type = 10,
};

Detailed Documentation

Status values returned by the library functions.

Enum Values

dnnl_success

The operation was successful.

dnnl_out_of_memory

The operation failed due to an out-of-memory condition.

dnnl_invalid_arguments

The operation failed because of incorrect function arguments.

dnnl_unimplemented

The operation failed because requested functionality is not implemented.

dnnl_last_impl_reached

The last available implementation is reached.

dnnl_runtime_error

Primitive or engine failed on execution.

dnnl_not_required

Queried element is not required for given primitive.

dnnl_invalid_graph

The graph is not legitimate.

dnnl_invalid_graph_op

The operation is not legitimate according to op schema.

dnnl_invalid_shape

The shape cannot be inferred or compiled.

dnnl_invalid_data_type

The data type cannot be inferred or compiled.