Skip to content

Commit b3dc7c5

Browse files
committed
Remove a check for canTargetIntrinsic
Signed-off-by: zjgarvey <zjgarvey@gmail.com>
1 parent 0fed6e7 commit b3dc7c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/src/iree/compiler/Codegen/Common/GPU/GPUHeuristics.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ static LogicalResult canTargetIntrinsic(const GPUMatmulShapeType &problem,
248248

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

257257
return success();
258258
}

0 commit comments

Comments
 (0)