diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-03-22 15:24:23 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-03-22 15:24:23 -0700 |
commit | 002cf0d1c979857e057879d8c84b92439dbcc90d (patch) | |
tree | 0a317243eb0b125176826f704ddf7c68168ecb43 /unsupported/Eigen/CXX11/Tensor | |
parent | 65a7113a36f70aeca34eac29f32b24ef865cb6e4 (diff) |
Use a single Barrier instead of a collection of Notifications to reduce the thread synchronization overhead
Diffstat (limited to 'unsupported/Eigen/CXX11/Tensor')
-rw-r--r-- | unsupported/Eigen/CXX11/Tensor | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor index 969f25481..16132398d 100644 --- a/unsupported/Eigen/CXX11/Tensor +++ b/unsupported/Eigen/CXX11/Tensor @@ -51,6 +51,7 @@ typedef unsigned __int64 uint64_t; #endif #ifdef EIGEN_USE_THREADS +#include <atomic> #include <condition_variable> #include <deque> #include <mutex> |