enum dnnl::status

Overview

Status values returned by the library functions. More…

#include <dnnl.hpp>

enum status
{
    success           = dnnl_success,
    out_of_memory     = dnnl_out_of_memory,
    invalid_arguments = dnnl_invalid_arguments,
    unimplemented     = dnnl_unimplemented,
    last_impl_reached = dnnl_last_impl_reached,
    runtime_error     = dnnl_runtime_error,
    not_required      = dnnl_not_required,
};

Detailed Documentation

Status values returned by the library functions.

Enum Values

success

The operation was successful.

out_of_memory

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

invalid_arguments

The operation failed because of incorrect function arguments.

unimplemented

The operation failed because requested functionality is not implemented.

last_impl_reached

The last available implementation is reached.

runtime_error

Primitive or engine failed on execution.

not_required

Queried element is not required for given primitive.