Skip to content

Commit d947c54

Browse files
committed
review comments
1 parent c38da38 commit d947c54

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

test/TritonIntelGPU/tritonintelgpu-invalid.mlir

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 8 : i32, "ttg.thr
166166
#dpas = #ttig.dpas<{repeatCount = 8, systolicDepth = 8, executionSize = 16, opsPerChan = 2, threadsPerWarp = 16, warpsPerCTA = [2, 2], repCluster = [1, 1]}>
167167
#dot_operand_a = #ttg.dot_op<{opIdx=0, parent=#dpas, kWidth=1}>
168168
#dot_operand_b = #ttg.dot_op<{opIdx=1, parent=#dpas, kWidth=2}>
169-
#smem = #ttg.shared_memory
170169
module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32} {
171170
// CHECK-LABEL: matmul_tf32dot
172171
tt.func @matmul_tf32dot(%ptr:!tt.ptr<f32>,
@@ -186,7 +185,6 @@ module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32} {
186185
#dpas = #ttig.dpas<{repeatCount = 8, systolicDepth = 8, executionSize = 16, opsPerChan = 2, threadsPerWarp = 16, warpsPerCTA = [2, 2], repCluster = [1, 1]}>
187186
#dot_operand_a = #ttg.dot_op<{opIdx=0, parent=#dpas, kWidth=1}>
188187
#dot_operand_b = #ttg.dot_op<{opIdx=1, parent=#dpas, kWidth=2}>
189-
#smem = #ttg.shared_memory
190188
module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32} {
191189
// CHECK-LABEL: matmul_tf32dot
192190
tt.func @matmul_tf32dot(%ptr:!tt.ptr<f32>,
@@ -206,7 +204,6 @@ module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32} {
206204
#dot_operand_a = #ttg.dot_op<{opIdx=0, parent=#dpas, kWidth=1}>
207205
// expected-error @below {{ttg.dot_op kWidth parameter must match the parent's opsPerChannel}}
208206
#dot_operand_b = #ttg.dot_op<{opIdx=1, parent=#dpas, kWidth=2}>
209-
#smem = #ttg.shared_memory
210207
module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32} {
211208
// CHECK-LABEL: matmul_tf32dot
212209
tt.func @matmul_tf32dot(%ptr:!tt.ptr<f32>,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ struct TritonIntelGPUVerifyTensorLayoutInterface
12131213

12141214
// Verify that the DPAS layout opsPerChannel param matches the A and B
12151215
// operand types. Because the DotOperand layout is not part of the Triton
1216-
// Intel GPU dialect, we need to first check for a TT.Dot operation. Then,
1216+
// Intel GPU dialect, we need to first check for a tt.dot operation. Then,
12171217
// we can compare the type of each operand to the Dot operation with the
12181218
// DPAS layout attached to the Dot operation.
12191219
if (auto dpasEncoding = dyn_cast<DpasEncodingAttr>(layout)) {

0 commit comments

Comments
 (0)