blob: 5167be5d8e0699758cc11cc9666ca67451285506 [file] [log] [blame]
#ifndef C10_MACROS_CMAKE_MACROS_H_
#define C10_MACROS_CMAKE_MACROS_H_
// Automatically generated header file for the C10 library.
// Do not include this file directly. Instead, include c10/macros/Macros.h.
#cmakedefine C10_BUILD_SHARED_LIBS
#cmakedefine C10_USE_GLOG
#cmakedefine C10_USE_GFLAGS
#cmakedefine C10_DISABLE_NUMA
// Used by libtorch mobile build to enable features that are not enabled by
// caffe2 mobile build. Should only use it when necessary as we are committed
// to converging libtorch and caffe2 mobile builds and removing it eventually.
#cmakedefine FEATURE_TORCH_MOBILE
// If defined it will use static dispatch for ATen operators.
// Should expose this macro for projects including ATen headers to inherient
// the same option.
#cmakedefine USE_STATIC_DISPATCH
#endif // C10_MACROS_CMAKE_MACROS_H_