Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Dialect/TritonGPU/Transforms/AccelerateMatmul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ class ScaledBlockedToMMA : public mlir::OpRewritePattern<triton::DotScaledOp> {
mlir::LogicalResult
matchAndRewrite(triton::DotScaledOp dotOp,
mlir::PatternRewriter &rewriter) const override {
if (computeCapability != 120)
if (computeCapability / 10 != 12)
return failure();

auto numCTAs = lookupNumCTAs(rewriter);
Expand Down Expand Up @@ -924,7 +924,7 @@ static bool mmav2SupportsFp8Operands(int computeCapability) {
// although PTX instructions for mma v2 w/ fp8 operands exist for sm90 and
// sm100, they are emulated as fp16 upcasts + fp16 HMMA in SASS. sm120 has
// hardware support for fp8 operands w/ mmav2.
return computeCapability == 89 || computeCapability == 120;
return computeCapability == 89 || computeCapability / 10 == 12;
}

// promote operands of dot op if the existing combination is not natively
Expand Down
Loading