aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-12-12 15:24:16 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-12-12 15:24:16 -0800
commita432fc102df1fc9b0f14b2abda5f57ed3993de16 (patch)
tree38c80cce5806c56f6efbb5f4ae07d28572f9bf96 /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h
parent8ae68924ed11c26b0fd59a29e2f8a6713102d67d (diff)
Moved the choice of ThreadPool to unsupported/Eigen/CXX11/ThreadPool
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h
index 210ae1368..16180ca69 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h
@@ -12,17 +12,6 @@
namespace Eigen {
-// Use the SimpleThreadPool by default. We'll switch to the new non blocking
-// thread pool later.
-#ifndef EIGEN_USE_SIMPLE_THREAD_POOL
-template <typename Env> using ThreadPoolTempl = NonBlockingThreadPoolTempl<Env>;
-typedef NonBlockingThreadPool ThreadPool;
-#else
-template <typename Env> using ThreadPoolTempl = SimpleThreadPoolTempl<Env>;
-typedef SimpleThreadPool ThreadPool;
-#endif
-
-
// Barrier is an object that allows one or more threads to wait until
// Notify has been called a specified number of times.
class Barrier {