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,
    iterator_ends     = dnnl_iterator_ends,
    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.

iterator_ends

Primitive iterator passed over last primitive descriptor.

runtime_error

Primitive or engine failed on execution.

not_required

Queried element is not required for given primitive.