@@ -170,11 +170,11 @@ tt.func public @fn(%arg0: tensor<32xf32, #blocked>) {
170170// -----
171171
172172// Bad order; should be [1,0]
173- #blocked = #ttg.blocked <{sizePerThread = [1 ], threadsPerWarp = [32 ], warpsPerCTA = [1 ], order = [0 ]}>
173+ #blocked = #ttg.blocked <{sizePerThread = [2 ], threadsPerWarp = [32 ], warpsPerCTA = [1 ], order = [0 ]}>
174174#blocked1 = #ttg.blocked <{sizePerThread = [1 ,2 ], threadsPerWarp = [32 ,1 ], warpsPerCTA = [1 ,1 ], order = [0 ,1 ]}>
175175module attributes {" ttg.target" = " cuda:80" , " ttg.num-ctas" = 1 : i32 , " ttg.num-warps" = 1 : i32 , " ttg.threads-per-warp" = 32 : i32 } {
176176tt.func public @fn (%arg0: tensor <32 xf32 , #blocked >) {
177- // expected-error @+2 {{order }}
177+ // expected-error @+2 {{incompatible with return type(s) of operation }}
178178 // expected-error @+1 {{op failed to infer returned types}}
179179 %a = tt.join %arg0 , %arg0 : tensor <32 xf32 , #blocked > -> tensor <32 x2 xf32 , #blocked1 >
180180 tt.return
@@ -215,7 +215,7 @@ tt.func public @fn(%arg0: tensor<2xf32>) {
215215
216216// -----
217217
218- #blocked = #ttg.blocked <{sizePerThread = [1 ,1 ,2 ], threadsPerWarp = [1 ,32 ,1 ], warpsPerCTA = [1 ,1 ,1 ], order = [2 ,0 ,1 ]}>
218+ #blocked = #ttg.blocked <{sizePerThread = [1 ,2 ,2 ], threadsPerWarp = [1 ,32 ,1 ], warpsPerCTA = [1 ,1 ,1 ], order = [2 ,0 ,1 ]}>
219219// Bad order, should be [1,0].
220220#blocked1 = #ttg.blocked <{sizePerThread = [1 ,1 ], threadsPerWarp = [1 ,32 ], warpsPerCTA = [1 ,1 ], order = [1 ,0 ]}>
221221
0 commit comments