mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
merge
This commit is contained in:
commit
0592b4cfbf
@ -159,9 +159,6 @@ class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable> {
|
|||||||
#else
|
#else
|
||||||
size_t num_threads = device.numThreads();
|
size_t num_threads = device.numThreads();
|
||||||
if (num_threads > 1) {
|
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(
|
num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
|
||||||
size, evaluator.costPerCoeff(Vectorizable), num_threads);
|
size, evaluator.costPerCoeff(Vectorizable), num_threads);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user