Deep Neural Network Library (DNNL)  1.3.0
Performance library for Deep Learning
dnnl_debug.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018-2020 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 
19 // clang-format off
20 
21 #ifndef DNNL_DEBUG_H
22 #define DNNL_DEBUG_H
23 
26 
27 #include "dnnl_config.h"
28 #include "dnnl_types.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 const char DNNL_API *dnnl_status2str(dnnl_status_t v);
35 const char DNNL_API *dnnl_dt2str(dnnl_data_type_t v);
36 const char DNNL_API *dnnl_fmt_kind2str(dnnl_format_kind_t v);
37 const char DNNL_API *dnnl_fmt_tag2str(dnnl_format_tag_t v);
38 const char DNNL_API *dnnl_prop_kind2str(dnnl_prop_kind_t v);
39 const char DNNL_API *dnnl_prim_kind2str(dnnl_primitive_kind_t v);
40 const char DNNL_API *dnnl_alg_kind2str(dnnl_alg_kind_t v);
41 const char DNNL_API *dnnl_rnn_flags2str(dnnl_rnn_flags_t v);
42 const char DNNL_API *dnnl_rnn_direction2str(dnnl_rnn_direction_t v);
43 const char DNNL_API *dnnl_engine_kind2str(dnnl_engine_kind_t v);
44 const char DNNL_API *dnnl_scratchpad_mode2str(dnnl_scratchpad_mode_t v);
45 const char DNNL_API *dnnl_cpu_isa2str(dnnl_cpu_isa_t v);
46 
47 const char DNNL_API *dnnl_runtime2str(unsigned v);
48 
60 int DNNL_API dnnl_md2fmt_str(char *fmt_str, size_t fmt_str_len,
61  const dnnl_memory_desc_t *md);
62 
66 int DNNL_API dnnl_md2dim_str(char *dim_str, size_t dim_str_len,
67  const dnnl_memory_desc_t *md);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif
dnnl_primitive_kind_t
Kinds of primitives.
Definition: dnnl_types.h:667
C API types definitions.
dnnl_engine_kind_t
Kinds of engines.
Definition: dnnl_types.h:1595
int DNNL_API dnnl_md2fmt_str(char *fmt_str, size_t fmt_str_len, const dnnl_memory_desc_t *md)
Forms a format string for a given memory descriptor.
int DNNL_API dnnl_md2dim_str(char *dim_str, size_t dim_str_len, const dnnl_memory_desc_t *md)
Forms a dimension string for a given memory descriptor.
dnnl_scratchpad_mode_t
Scratchpad mode.
Definition: dnnl_types.h:1649
dnnl_rnn_direction_t
A direction of RNN primitive execution.
Definition: dnnl_types.h:1423
dnnl_status_t
Status values returned by the library functions.
Definition: dnnl_types.h:39
dnnl_data_type_t
Data type specification.
Definition: dnnl_types.h:62
dnnl_format_tag_t
Memory format tag specification.
Definition: dnnl_types.h:164
dnnl_format_kind_t
Memory format kind.
Definition: dnnl_types.h:80
Memory descriptor.
Definition: dnnl_types.h:1003
dnnl_alg_kind_t
Kinds of algorithms.
Definition: dnnl_types.h:711
dnnl_rnn_flags_t
Flags for RNN cell.
Definition: dnnl_types.h:1417
dnnl_prop_kind_t
Kinds of propagation.
Definition: dnnl_types.h:640
dnnl_cpu_isa_t
CPU instruction set flags.
Definition: dnnl_types.h:2077