aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-07-25 08:53:37 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-07-25 08:53:37 -0700
commit3d3d34e4422bc59172bcae807b0b5ad920aa90e4 (patch)
tree5511c724c91900804f76ae56a6c10cfeb3a93829 /unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
parent34b483e25de4ed15977ec99b1677b0b9319bba0a (diff)
Deleted dead code.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
index 9075fb3fa..a116bf17f 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h
@@ -159,9 +159,6 @@ class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable> {
#else
size_t num_threads = device.numThreads();
if (num_threads > 1) {
- // 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);
}