Remove "false &&" left over from test.

This commit is contained in:
Rasmus Munk Larsen 2018-09-26 17:03:30 -07:00
parent 3815aeed7a
commit d956204ab2

View File

@ -148,7 +148,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
int num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
static_cast<double>(n) * m, cost, this->m_device.numThreads());
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
// inner dimension.
this->template evalShardedByInnerDim<Alignment>(num_threads_by_k,