diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-09-26 17:03:30 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-09-26 17:03:30 -0700 |
commit | d956204ab20ec571706f41d8aefde829e8e5f704 (patch) | |
tree | b092d1199d3799da04a259c02647f4c56a476cb3 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | |
parent | 3815aeed7a0304ea7703adf96124bd7f2d0530c1 (diff) |
Remove "false &&" left over from test.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 57fe7cf99..70eec78fe 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -148,7 +148,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT int num_threads = TensorCostModel<ThreadPoolDevice>::numThreads( static_cast<double>(n) * m, cost, this->m_device.numThreads()); int num_threads_by_k = numThreadsInnerDim(m, n, k); - if (false && shardByInnerDim(m, n, k, num_threads, num_threads_by_k)) { + if (shardByInnerDim(m, n, k, num_threads, num_threads_by_k)) { // We are in the scenario where it is more effective to shard by the // inner dimension. this->template evalShardedByInnerDim<Alignment>(num_threads_by_k, |