Caffe2 - C++ API
A deep learning, cross platform ML framework
verify_api_visibility.cpp
1 #include <ATen/ATen.h>
2 
3 #ifdef AT_CUDNN_ENABLED
4 #error "AT_CUDNN_ENABLED should not be visible in public headers"
5 #endif
6 
7 #ifdef AT_MKL_ENABLED
8 #error "AT_MKL_ENABLED should not be visible in public headers"
9 #endif
10 
11 #ifdef AT_MKLDNN_ENABLED
12 #error "AT_MKLDNN_ENABLED should not be visible in public headers"
13 #endif
14 
15 #ifdef CAFFE2_STATIC_LINK_CUDA
16 #error "CAFFE2_STATIC_LINK_CUDA should not be visible in public headers"
17 #endif
18 
19 auto main() -> int {}