#ifdef INTEL_COMMON
#undef EIGEN_USE_GPU
#undef EIGEN_USE_ITEX_GPU
#endif
#ifndef INTEL_COMMON
#ifndef INTEL_CPU_ONLY
#include "third_party/build_option/dpcpp/runtime/eigen_itex_gpu_runtime.h"
#endif
#endif

#include "unsupported/Eigen/CXX11/Tensor"

#ifdef _WIN32
#ifndef SLEEP_FUNC_HEADER_GUARD
#define SLEEP_FUNC_HEADER_GUARD
inline void sleep(unsigned int seconds) { Sleep(1000*seconds); }
#endif

// On Windows, Eigen will include Windows.h, which defines various
// macros that conflict with TensorFlow symbols. Undefine them here to
// prevent clashes.
#undef DeleteFile
#undef ERROR
#endif  // _WIN32
