aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/Tensor
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-12-02 11:04:04 -0800
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-12-02 11:04:04 -0800
commit71c85df4c1ce4efa41bb4adc8e9cb224c3ca9a2d (patch)
treec0f768dccd1dbca1fe17621bf8638c9102b8f170 /unsupported/Eigen/CXX11/Tensor
parent70fbcf82ed0a95b27ee68e20199a4e8e1e913268 (diff)
Clean up the Tensor header and get rid of the EIGEN_SLEEP macro.
Diffstat (limited to 'unsupported/Eigen/CXX11/Tensor')
-rw-r--r--unsupported/Eigen/CXX11/Tensor6
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor
index 2640f9565..beed2308a 100644
--- a/unsupported/Eigen/CXX11/Tensor
+++ b/unsupported/Eigen/CXX11/Tensor
@@ -33,10 +33,13 @@
* Much of the documentation can be found \ref eigen_tensors "here".
*/
+#include <atomic>
+#include <chrono>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <random>
+#include <thread>
#ifdef _WIN32
typedef __int16 int16_t;
@@ -48,7 +51,6 @@ typedef unsigned __int64 uint64_t;
#include <windows.h>
#else
#include <stdint.h>
-#include <unistd.h>
#endif
#ifdef _WIN32
@@ -70,8 +72,6 @@ typedef unsigned __int64 uint64_t;
#else
#include <cuda_runtime.h>
#endif
- #include <atomic>
- #include <unistd.h>
#endif
#include "src/Tensor/TensorMacros.h"