Skip to content

Commit d46b7d2

Browse files
authored
Fix a typo in Dialect.cpp (#4464)
1 parent 8d32f5d commit d46b7d2

File tree

1 file changed

+1
-1
lines changed
  • third_party/intel/lib/Dialect/TritonIntelGPU/IR

1 file changed

+1
-1
lines changed

third_party/intel/lib/Dialect/TritonIntelGPU/IR/Dialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ LogicalResult Subgroup2DBlockEncodingAttr::verify(
547547
if (!(kWidth == 1 || kWidth == 2 || kWidth == 4)) {
548548
return emitError() << "kWidth must be 1, 2 or 4, but was: " << kWidth;
549549
}
550-
if (!threadsPerWarp == 16) {
550+
if (!(threadsPerWarp == 16)) {
551551
return emitError() << "threadsPerWarp must be 16, but was: "
552552
<< threadsPerWarp;
553553
}

0 commit comments

Comments
 (0)