1/*******************************************************************************
2* Copyright 2018-2022 Intel Corporation
3*
4* Licensed under the Apache License, Version 2.0 (the "License");
5* you may not use this file except in compliance with the License.
6* You may obtain a copy of the License at
7*
8* http://www.apache.org/licenses/LICENSE-2.0
9*
10* Unless required by applicable law or agreed to in writing, software
11* distributed under the License is distributed on an "AS IS" BASIS,
12* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13* See the License for the specific language governing permissions and
14* limitations under the License.
15*******************************************************************************/
16
17// DO NOT EDIT, AUTO-GENERATED
18// Use this script to update the file: scripts/generate_dnnl_debug.py
19
20// clang-format off
21
22#ifndef ONEAPI_DNNL_DNNL_DEBUG_H
23#define ONEAPI_DNNL_DNNL_DEBUG_H
24
25/// @file
26/// Debug capabilities
27
28#include "oneapi/dnnl/dnnl_config.h"
29#include "oneapi/dnnl/dnnl_types.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35const char DNNL_API *dnnl_status2str(dnnl_status_t v);
36const char DNNL_API *dnnl_dt2str(dnnl_data_type_t v);
37const char DNNL_API *dnnl_fpmath_mode2str(dnnl_fpmath_mode_t v);
38const char DNNL_API *dnnl_engine_kind2str(dnnl_engine_kind_t v);
39const char DNNL_API *dnnl_fmt_tag2str(dnnl_format_tag_t v);
40const char DNNL_API *dnnl_prop_kind2str(dnnl_prop_kind_t v);
41const char DNNL_API *dnnl_prim_kind2str(dnnl_primitive_kind_t v);
42const char DNNL_API *dnnl_alg_kind2str(dnnl_alg_kind_t v);
43const char DNNL_API *dnnl_rnn_flags2str(dnnl_rnn_flags_t v);
44const char DNNL_API *dnnl_rnn_direction2str(dnnl_rnn_direction_t v);
45const char DNNL_API *dnnl_scratchpad_mode2str(dnnl_scratchpad_mode_t v);
46const char DNNL_API *dnnl_cpu_isa2str(dnnl_cpu_isa_t v);
47const char DNNL_API *dnnl_cpu_isa_hints2str(dnnl_cpu_isa_hints_t v);
48
49const char DNNL_API *dnnl_runtime2str(unsigned v);
50const char DNNL_API *dnnl_fmt_kind2str(dnnl_format_kind_t v);
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif
57