Skip to content

Commit

Permalink
Revert "REVERTME: modify 'tritongpu_to_llvm.mlir' until issue #2603 i…
Browse files Browse the repository at this point in the history
…s fixed"

This reverts commit 0290b6c.
  • Loading branch information
victor-eds committed Nov 7, 2024
1 parent 43f486a commit d7095ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Conversion/tritongpu_to_llvm.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ module attributes {"triton_gpu.num-ctas" = 1 : i32, "triton_gpu.num-warps" = 1 :
module attributes {"triton_gpu.num-ctas" = 1 : i32, "triton_gpu.num-warps" = 4 : i32} {
// CHECK-LABEL: convert_layout_slice_mmav2_blocked_reg
tt.func @convert_layout_slice_mmav2_blocked_reg(%arg0: tensor<1xf16, #slice>) {
// CHECK-NOT: st.shared
// CHECK-NOT: llvm.load
%0 = triton_gpu.convert_layout %arg0 : tensor<1xf16, #slice> -> tensor<1xf16, #blocked>
tt.return
}
Expand Down Expand Up @@ -901,6 +903,8 @@ module attributes {"triton_gpu.num-ctas" = 1 : i32, "triton_gpu.num-warps" = 4 :
module attributes {"triton_gpu.num-ctas" = 1 : i32, "triton_gpu.num-warps" = 4 : i32} {
// CHECK-LABEL: convert_layout_mmav3_mmav3_2
tt.func @convert_layout_mmav3_mmav3_2(%arg0: tensor<16x16xf16, #mma1>) {
// CHECK-NOT: st.shared
// CHECK-NOT: llvm.load
%0 = triton_gpu.convert_layout %arg0 : tensor<16x16xf16, #mma1> -> tensor<16x16xf16, #mma0>
tt.return
}
Expand All @@ -915,6 +919,7 @@ module attributes {"triton_gpu.num-ctas" = 1 : i32, "triton_gpu.num-warps" = 4 :
// CHECK-LABEL: convert_layout_mmav3_mmav3_3
tt.func @convert_layout_mmav3_mmav3_3(%arg0: tensor<1x64xf16, #mma1>) {
// CHECK-NOT: st.shared
// CHECK-NOT: llvm.load
%0 = triton_gpu.convert_layout %arg0 : tensor<1x64xf16, #mma1> -> tensor<1x64xf16, #mma0>
tt.return
}
Expand Down

0 comments on commit d7095ce

Please sign in to comment.