diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-10 15:20:37 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-10 15:20:37 -0700 |
commit | a991f94c0e5c51555875564ce58681a82d07cd69 (patch) | |
tree | 14dec39546e66b5c44c425888fa90739656a4b4b /unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | |
parent | 498b7eed25bdb3b90f2fc45dd822c96aa08db2f8 (diff) |
Fixed the thread pool test
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h index faf965df8..84768ca09 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h @@ -131,7 +131,7 @@ class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable> const Index numblocks = size / blocksize; Index i = 0; - vector<std::future<void> > results; + std::vector<std::future<void> > results; results.reserve(numblocks); for (int i = 0; i < numblocks; ++i) { results.push_back(std::async(std::launch::async, &EvalRange<Evaluator, Index>::run, &evaluator, i*blocksize, (i+1)*blocksize)); |