Skip to content

Commit 4cd6aba

Browse files
committed
Fix weird shaped tmem
1 parent b3f7ce4 commit 4cd6aba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Dialect/TritonNvidiaGPU/IR/Dialect.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,6 @@ LogicalResult TensorMemoryEncodingAttr::verify(
253253
if (CTASplitM < 1 || CTASplitN < 1) {
254254
return emitError() << "CTASplitM and CTASplitN must be greater than 0";
255255
}
256-
if (blockM != 64 && blockM != 128) {
257-
return emitError() << "blockM must be 64 or 128";
258-
}
259-
if (!llvm::isPowerOf2_32(blockN) || blockN > 512) {
260-
return emitError() << "blockN must be a power of 2 and less than 512";
261-
}
262256
if (!unpacked && blockN < 2) {
263257
return emitError() << "blockN must be at least 2 for packed tensor memory";
264258
}

0 commit comments

Comments
 (0)