Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  0.21.0
Performance library for Deep Learning
mkldnn_debug.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018 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 
22 #ifndef DOXYGEN_SHOULD_SKIP_THIS
23 
24 /* All symbols shall be internal unless marked as MKLDNN_API */
25 #if defined _WIN32 || defined __CYGWIN__
26 # define MKLDNN_HELPER_DLL_IMPORT __declspec(dllimport)
27 # define MKLDNN_HELPER_DLL_EXPORT __declspec(dllexport)
28 #else
29 # if __GNUC__ >= 4
30 # define MKLDNN_HELPER_DLL_IMPORT __attribute__ ((visibility ("default")))
31 # define MKLDNN_HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))
32 # else
33 # define MKLDNN_HELPER_DLL_IMPORT
34 # define MKLDNN_HELPER_DLL_EXPORT
35 # endif
36 #endif
37 
38 #ifdef MKLDNN_DLL
39 # ifdef MKLDNN_DLL_EXPORTS
40 # define MKLDNN_API MKLDNN_HELPER_DLL_EXPORT
41 # else
42 # define MKLDNN_API MKLDNN_HELPER_DLL_IMPORT
43 # endif
44 #else
45 # define MKLDNN_API
46 #endif
47 
48 #if defined (__GNUC__)
49 # define MKLDNN_DEPRECATED __attribute__((deprecated))
50 #elif defined(_MSC_VER)
51 # define MKLDNN_DEPRECATED __declspec(deprecated)
52 #else
53 # define MKLDNN_DEPRECATED
54 #endif
55 
56 #include "mkldnn_types.h"
57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 const char MKLDNN_API *mkldnn_status2str(mkldnn_status_t v);
64 const char MKLDNN_API *mkldnn_dt2str(mkldnn_data_type_t v);
65 const char MKLDNN_API *mkldnn_rmode2str(mkldnn_round_mode_t v);
66 const char MKLDNN_API *mkldnn_fmt2str(mkldnn_memory_format_t v);
67 const char MKLDNN_API *mkldnn_prop_kind2str(mkldnn_prop_kind_t v);
68 const char MKLDNN_API *mkldnn_prim_kind2str(mkldnn_primitive_kind_t v);
69 const char MKLDNN_API *mkldnn_alg_kind2str(mkldnn_alg_kind_t v);
70 const char MKLDNN_API *mkldnn_rnn_direction2str(mkldnn_rnn_direction_t v);
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif
mkldnn_status_t
Status values returned by Intel(R) MKL-DNN functions.
Definition: mkldnn_types.h:49
mkldnn_rnn_direction_t
A direction of RNN primitive execution.
Definition: mkldnn_types.h:1019
const char MKLDNN_API * mkldnn_status2str(mkldnn_status_t v)
const char MKLDNN_API * mkldnn_dt2str(mkldnn_data_type_t v)
mkldnn_round_mode_t
Rounding mode.
Definition: mkldnn_types.h:90
mkldnn_memory_format_t
Memory format specification.
Definition: mkldnn_types.h:147
const char MKLDNN_API * mkldnn_rnn_direction2str(mkldnn_rnn_direction_t v)
mkldnn_prop_kind_t
Kinds of propagation.
Definition: mkldnn_types.h:458
const char MKLDNN_API * mkldnn_prim_kind2str(mkldnn_primitive_kind_t v)
mkldnn_primitive_kind_t
Kinds of primitives.
Definition: mkldnn_types.h:485
const char MKLDNN_API * mkldnn_fmt2str(mkldnn_memory_format_t v)
mkldnn_data_type_t
Data type specification.
Definition: mkldnn_types.h:72
const char MKLDNN_API * mkldnn_rmode2str(mkldnn_round_mode_t v)
const char MKLDNN_API * mkldnn_prop_kind2str(mkldnn_prop_kind_t v)
const char MKLDNN_API * mkldnn_alg_kind2str(mkldnn_alg_kind_t v)
mkldnn_alg_kind_t
Kinds of algorithms.
Definition: mkldnn_types.h:523