Skip to content

Commit

Permalink
Remove a check for canTargetIntrinsic
Browse files Browse the repository at this point in the history
Signed-off-by: zjgarvey <[email protected]>
  • Loading branch information
zjgarvey committed Dec 18, 2024
1 parent 0fed6e7 commit b3dc7c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compiler/src/iree/compiler/Codegen/Common/GPU/GPUHeuristics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ static LogicalResult canTargetIntrinsic(const GPUMatmulShapeType &problem,

// Cannot use the intrinsic when the tile size is greater than problem size.
// Because tiling is a no-op, and we can't infer tiling sizes from IR.
if (!mustBeAligned && (problem.mSizes.back() < intrinsic.mSizes[0] ||
problem.nSizes.back() < intrinsic.nSizes[0] ||
problem.kSizes.back() < intrinsic.kSizes[0])) {
return failure();
}
// if (!mustBeAligned && (problem.mSizes.back() < intrinsic.mSizes[0] ||
// problem.nSizes.back() < intrinsic.nSizes[0] ||
// problem.kSizes.back() < intrinsic.kSizes[0])) {
// return failure();
// }

return success();
}
Expand Down

0 comments on commit b3dc7c5

Please sign in to comment.