Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  1.0.4
Performance library for Deep Learning
mkldnn_debug.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018-2019 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 #ifndef MKLDNN_DEBUG_H
20 #define MKLDNN_DEBUG_H
21 
24 
25 #include "mkldnn_config.h"
26 #include "mkldnn_types.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 const char MKLDNN_API *mkldnn_status2str(mkldnn_status_t v);
33 const char MKLDNN_API *mkldnn_dt2str(mkldnn_data_type_t v);
34 const char MKLDNN_API *mkldnn_fmt_kind2str(mkldnn_format_kind_t v);
35 const char MKLDNN_API *mkldnn_fmt_tag2str(mkldnn_format_tag_t v);
36 const char MKLDNN_API *mkldnn_prop_kind2str(mkldnn_prop_kind_t v);
37 const char MKLDNN_API *mkldnn_prim_kind2str(mkldnn_primitive_kind_t v);
38 const char MKLDNN_API *mkldnn_alg_kind2str(mkldnn_alg_kind_t v);
39 const char MKLDNN_API *mkldnn_rnn_flags2str(mkldnn_rnn_flags_t v);
40 const char MKLDNN_API *mkldnn_rnn_direction2str(mkldnn_rnn_direction_t v);
41 const char MKLDNN_API *mkldnn_engine_kind2str(mkldnn_engine_kind_t v);
42 const char MKLDNN_API *mkldnn_scratchpad_mode2str(mkldnn_scratchpad_mode_t v);
43 
55 int MKLDNN_API mkldnn_md2fmt_str(char *fmt_str, size_t fmt_str_len,
56  const mkldnn_memory_desc_t *md);
57 
61 int MKLDNN_API mkldnn_md2dim_str(char *dim_str, size_t dim_str_len,
62  const mkldnn_memory_desc_t *md);
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif
mkldnn_status_t
Status values returned by the library functions.
Definition: mkldnn_types.h:50
mkldnn_rnn_direction_t
A direction of RNN primitive execution.
Definition: mkldnn_types.h:1169
Memory descriptor.
Definition: mkldnn_types.h:865
mkldnn_format_tag_t
Memory format tag specification.
Definition: mkldnn_types.h:170
mkldnn_format_kind_t
Memory format kind.
Definition: mkldnn_types.h:86
C API types definitions.
mkldnn_scratchpad_mode_t
Scratchpad mode.
Definition: mkldnn_types.h:1314
mkldnn_prop_kind_t
Kinds of propagation.
Definition: mkldnn_types.h:584
int MKLDNN_API mkldnn_md2fmt_str(char *fmt_str, size_t fmt_str_len, const mkldnn_memory_desc_t *md)
Forms a format string for a given memory descriptor.
mkldnn_primitive_kind_t
Kinds of primitives.
Definition: mkldnn_types.h:611
mkldnn_rnn_flags_t
Flags for RNN cell.
Definition: mkldnn_types.h:1164
int MKLDNN_API mkldnn_md2dim_str(char *dim_str, size_t dim_str_len, const mkldnn_memory_desc_t *md)
Forms a dimension string for a given memory descriptor.
mkldnn_data_type_t
Data type specification.
Definition: mkldnn_types.h:68
mkldnn_engine_kind_t
Kinds of engines.
Definition: mkldnn_types.h:1256
mkldnn_alg_kind_t
Kinds of algorithms.
Definition: mkldnn_types.h:645