19 #ifndef MKLDNN_DEBUG_H
20 #define MKLDNN_DEBUG_H
22 #ifndef DOXYGEN_SHOULD_SKIP_THIS
25 #if defined _WIN32 || defined __CYGWIN__
26 # define MKLDNN_HELPER_DLL_IMPORT __declspec(dllimport)
27 # define MKLDNN_HELPER_DLL_EXPORT __declspec(dllexport)
30 # define MKLDNN_HELPER_DLL_IMPORT __attribute__ ((visibility ("default")))
31 # define MKLDNN_HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))
33 # define MKLDNN_HELPER_DLL_IMPORT
34 # define MKLDNN_HELPER_DLL_EXPORT
39 # ifdef MKLDNN_DLL_EXPORTS
40 # define MKLDNN_API MKLDNN_HELPER_DLL_EXPORT
42 # define MKLDNN_API MKLDNN_HELPER_DLL_IMPORT
48 #if defined (__GNUC__)
49 # define MKLDNN_DEPRECATED __attribute__((deprecated))
50 #elif defined(_MSC_VER)
51 # define MKLDNN_DEPRECATED __declspec(deprecated)
53 # define MKLDNN_DEPRECATED
mkldnn_status_t
Status values returned by Intel(R) MKL-DNN functions.
Definition: mkldnn_types.h:47
mkldnn_rnn_direction_t
A direction of RNN primitive execution.
Definition: mkldnn_types.h:991
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:86
mkldnn_memory_format_t
Memory format specification.
Definition: mkldnn_types.h:143
const char MKLDNN_API * mkldnn_rnn_direction2str(mkldnn_rnn_direction_t v)
mkldnn_prop_kind_t
Kinds of propagation.
Definition: mkldnn_types.h:435
const char MKLDNN_API * mkldnn_prim_kind2str(mkldnn_primitive_kind_t v)
mkldnn_primitive_kind_t
Kinds of primitives.
Definition: mkldnn_types.h:462
const char MKLDNN_API * mkldnn_fmt2str(mkldnn_memory_format_t v)
mkldnn_data_type_t
Data type specification.
Definition: mkldnn_types.h:70
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:500