33 #include "dmlc/base.h" 34 #include "mshadow/base.h" 40 #ifndef MXNET_USE_OPENCV 41 #define MXNET_USE_OPENCV 0 47 #ifndef MXNET_USE_CUDA 48 #define MXNET_USE_CUDA MSHADOW_USE_CUDA 54 #ifndef MXNET_USE_CUDNN 55 #define MXNET_USE_CUDNN MSHADOW_USE_CUDNN 58 #ifndef MXNET_USE_NCCL 59 #define MXNET_USE_NCCL 0 65 #ifndef MXNET_USE_CUSOLVER 66 #define MXNET_USE_CUSOLVER MSHADOW_USE_CUSOLVER 69 #ifndef MXNET_ENABLE_CUDA_RTC 70 #define MXNET_ENABLE_CUDA_RTC 0 74 #define MXNET_GPU_NOT_ENABLED_ERROR "GPU is not enabled" 77 #ifndef MXNET_USE_TENSORRT 78 #define MXNET_USE_TENSORRT 0 82 #ifndef MXNET_USE_BLAS_ATLAS 83 #define MXNET_USE_BLAS_ATLAS 0 86 #ifndef MXNET_USE_BLAS_OPEN 87 #define MXNET_USE_BLAS_OPEN 0 90 #ifndef MXNET_USE_BLAS_MKL 91 #define MXNET_USE_BLAS_MKL 0 94 #ifndef MXNET_USE_BLAS_APPLE 95 #define MXNET_USE_BLAS_APPLE 0 98 #ifndef MXNET_USE_LAPACK 99 #define MXNET_USE_LAPACK 0 102 #ifndef MXNET_USE_MKLDNN 103 #define MXNET_USE_MKLDNN 0 106 #ifndef MXNET_USE_OPENMP 107 #define MXNET_USE_OPENMP 0 110 #ifndef MXNET_USE_F16C 111 #define MXNET_USE_F16C MSHADOW_USE_F16C 114 #ifndef MXNET_USE_CAFFE 115 #define MXNET_USE_CAFFE 0 118 #ifndef MXNET_USE_DIST_KVSTORE 119 #define MXNET_USE_DIST_KVSTORE 0 122 #ifndef MXNET_USE_SIGNAL_HANDLER 123 #define MXNET_USE_SIGNAL_HANDLER 0 126 #ifndef MXNET_USE_INT64_TENSOR_SIZE 127 #define MXNET_USE_INT64_TENSOR_SIZE MSHADOW_INT64_TENSOR_SIZE 194 static const std::vector<std::string>
names;
201 return m_lib_features;
204 std::array<LibFeature, MAX_FEATURES> m_lib_features;
205 static std::unique_ptr<LibInfo> m_inst;
Definition: libinfo.h:159
Definition: libinfo.h:186
Definition: libinfo.h:152
Definition: libinfo.h:158
Definition: libinfo.h:163
Definition: libinfo.h:150
namespace of mxnet
Definition: base.h:89
Definition: libinfo.h:140
Definition: libinfo.h:170
Definition: libinfo.h:149
Definition: libinfo.h:139
Definition: libinfo.h:182
Definition: libinfo.h:138
Definition: libinfo.h:167
Definition: libinfo.h:175
Definition: libinfo.h:142
Definition: libinfo.h:147
Definition: libinfo.h:164
bool is_enabled(unsigned feat)
Definition: libinfo.h:181
Definition: libinfo.h:185
Definition: libinfo.h:157
Definition: libinfo.h:145
Definition: libinfo.h:180
const std::array< LibFeature, MAX_FEATURES > & getFeatures()
Definition: libinfo.h:200
Definition: libinfo.h:141
Definition: libinfo.h:197
Definition: libinfo.h:179
Definition: libinfo.h:166
Definition: libinfo.h:148
Definition: libinfo.h:156
Definition: libinfo.h:193
Definition: libinfo.h:189
Definition: libinfo.h:151
Definition: libinfo.h:178
Definition: libinfo.h:172
Definition: libinfo.h:146
static const std::vector< std::string > names
Definition: libinfo.h:194