This commit is contained in:
Gael Guennebaud 2016-07-25 18:20:22 +02:00
commit 0592b4cfbf

View File

@ -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);
}