diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-07-25 14:48:30 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-07-25 14:48:30 +0200 |
commit | 6d5daf32f51c0903f89dfe8124d33b2152d9a625 (patch) | |
tree | 9f2c0d282e8359842d610bbd8d9a90c75f12522b /unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | |
parent | f9598d73b56430f34379945c45b80bdc65dc3d61 (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.h | 4 |
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); } |