diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-12-02 11:04:04 -0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-12-02 11:04:04 -0800 |
commit | 71c85df4c1ce4efa41bb4adc8e9cb224c3ca9a2d (patch) | |
tree | c0f768dccd1dbca1fe17621bf8638c9102b8f170 /unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h | |
parent | 70fbcf82ed0a95b27ee68e20199a4e8e1e913268 (diff) |
Clean up the Tensor header and get rid of the EIGEN_SLEEP macro.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h index 76d15f114..73ff3d2db 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h @@ -43,15 +43,6 @@ #define EIGEN_SFINAE_ENABLE_IF( __condition__ ) \ typename internal::enable_if< ( __condition__ ) , int >::type = 0 - -#if EIGEN_OS_WIN || EIGEN_OS_WIN64 -#define EIGEN_SLEEP(n) Sleep(n) -#elif EIGEN_OS_GNULINUX -#define EIGEN_SLEEP(n) usleep(n * 1000); -#else -#define EIGEN_SLEEP(n) sleep(std::max<unsigned>(1, n/1000)) -#endif - // Define a macro to use a reference on the host but a value on the device #if defined(SYCL_DEVICE_ONLY) #define EIGEN_DEVICE_REF |