// Automatically generated header file for caffe2 macros. These // macros are used to build the Caffe2 binary, and if you are // building a dependent library, they will need to be set as well // for your program to link correctly. #pragma once #define CAFFE2_BUILD_SHARED_LIBS /* #undef CAFFE2_FORCE_FALLBACK_CUDA_MPI */ /* #undef CAFFE2_HAS_MKL_DNN */ /* #undef CAFFE2_HAS_MKL_SGEMM_PACK */ #define CAFFE2_PERF_WITH_AVX #define CAFFE2_PERF_WITH_AVX2 /* #undef CAFFE2_THREADPOOL_MAIN_IMBALANCE */ /* #undef CAFFE2_THREADPOOL_STATS */ /* #undef CAFFE2_USE_ACCELERATE */ #define CAFFE2_USE_CUDNN #define CAFFE2_USE_EIGEN_FOR_BLAS /* #undef CAFFE2_USE_FBCODE */ /* #undef CAFFE2_USE_GOOGLE_GLOG */ /* #undef CAFFE2_USE_LITE_PROTO */ /* #undef CAFFE2_USE_MKL */ #define USE_MKLDNN /* #undef CAFFE2_USE_NVTX */ /* #undef CAFFE2_USE_ITT */ #ifndef EIGEN_MPL2_ONLY #define EIGEN_MPL2_ONLY #endif // Useful build settings that are recorded in the compiled binary // torch.__build__.show() #define CAFFE2_BUILD_STRINGS { \ {"TORCH_VERSION", "2.7.1"}, \ {"CXX_COMPILER", "/opt/rh/devtoolset-9/root/usr/bin/c++"}, \ {"CXX_FLAGS", " -D_GLIBCXX_USE_CXX11_ABI=0 -fabi-version=11 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow"}, \ {"BUILD_TYPE", "Release"}, \ {"BLAS_INFO", ""}, \ {"LAPACK_INFO", ""}, \ {"USE_CUDA", "ON"}, \ {"USE_ROCM", "OFF"}, \ {"CUDA_VERSION", "11.8"}, \ {"ROCM_VERSION", ""}, \ {"USE_CUDNN", "ON"}, \ {"COMMIT_SHA", "e2d141dbde55c2a4370fac5165b0561b6af4798b"}, \ {"CUDNN_VERSION", "8.9.7"}, \ {"USE_NCCL", "ON"}, \ {"USE_MPI", "OFF"}, \ {"USE_GFLAGS", "OFF"}, \ {"USE_GLOG", "OFF"}, \ {"USE_GLOO", "ON"}, \ {"USE_NNPACK", "ON"}, \ {"USE_OPENMP", "ON"}, \ {"FORCE_FALLBACK_CUDA_MPI", ""}, \ {"HAS_MKL_DNN", ""}, \ {"HAS_MKL_SGEMM_PACK", ""}, \ {"PERF_WITH_AVX", "1"}, \ {"PERF_WITH_AVX2", "1"}, \ {"USE_ACCELERATE", ""}, \ {"USE_EIGEN_FOR_BLAS", "ON"}, \ {"USE_LITE_PROTO", ""}, \ {"USE_MKL", "OFF"}, \ {"USE_MKLDNN", "ON"}, \ {"USE_NVTX", ""}, \ {"USE_ITT", ""}, \ {"USE_ROCM_KERNEL_ASSERT", "OFF"}, \ {"USE_CUSPARSELT", "OFF"}, \ }