aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-07-25 14:48:30 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-07-25 14:48:30 +0200
commit6d5daf32f51c0903f89dfe8124d33b2152d9a625 (patch)
tree9f2c0d282e8359842d610bbd8d9a90c75f12522b /unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
parentf9598d73b56430f34379945c45b80bdc65dc3d61 (diff)
bug #1255: comment out broken and unsused line.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
index ad5c97b57..9075fb3fa 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
@@ -159,7 +159,9 @@ class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable> {
#else
size_t num_threads = device.numThreads();
if (num_threads > 1) {
- cost = evaluator.costPerCoeff(Vectorizable)
+ // FIXME: the following line is broken (see bug 1255),
+ // but maybe the cost should be used somewhere to drive the execution.
+ //cost = evaluator.costPerCoeff(Vectorizable)
num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
size, evaluator.costPerCoeff(Vectorizable), num_threads);
}