File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tensorflow/compiler/xla/service/cpu Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1013,6 +1013,7 @@ bool PotentiallyImplementedAsEigenDot(const HloInstruction& hlo) {
10131013DotInLlvmIrProfitable ProfitableToImplementDotInUntiledLlvmIr (
10141014 const HloInstruction& dot) {
10151015 if (dot.opcode () == HloOpcode::kDot && dot.shape ().dimensions_size () == 2 ) {
1016+ #if 0
10161017 const Shape& result_shape = dot.shape();
10171018 // kReductionDimensionThresholdBytes was chosen to be 1/4 of a typical L1
10181019 // cache line size, so that we can have the reduction dimension of both the
@@ -1048,6 +1049,8 @@ DotInLlvmIrProfitable ProfitableToImplementDotInUntiledLlvmIr(
10481049 ? DotInLlvmIrProfitable::kWithColumnMajorRhs
10491050 : DotInLlvmIrProfitable::kYes;
10501051 }
1052+ #endif
1053+ return DotInLlvmIrProfitable::kYes ;
10511054 }
10521055 return DotInLlvmIrProfitable::kNo ;
10531056}
You can’t perform that action at this time.
0 commit comments