mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 21:26:00 +08:00
Remove "false &&" left over from test.
This commit is contained in:
parent
3815aeed7a
commit
d956204ab2
@ -148,7 +148,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
|||||||
int num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
|
int num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
|
||||||
static_cast<double>(n) * m, cost, this->m_device.numThreads());
|
static_cast<double>(n) * m, cost, this->m_device.numThreads());
|
||||||
int num_threads_by_k = numThreadsInnerDim(m, n, k);
|
int num_threads_by_k = numThreadsInnerDim(m, n, k);
|
||||||
if (false && shardByInnerDim(m, n, k, num_threads, num_threads_by_k)) {
|
if (shardByInnerDim(m, n, k, num_threads, num_threads_by_k)) {
|
||||||
// We are in the scenario where it is more effective to shard by the
|
// We are in the scenario where it is more effective to shard by the
|
||||||
// inner dimension.
|
// inner dimension.
|
||||||
this->template evalShardedByInnerDim<Alignment>(num_threads_by_k,
|
this->template evalShardedByInnerDim<Alignment>(num_threads_by_k,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user