@@ -15,7 +15,8 @@ gpu.module @test_round_robin_assignment {
1515 // CHECK-LABEL: test_load_nd_tdesc
1616 // CHECK-SAME: %[[ARG_0:.*]]: memref<24x32xf32>
1717 gpu.func @test_load_nd_tdesc (%src: memref <24 x32 xf32 >) {
18- %tdesc = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 > -> !xegpu.tensor_desc <24 x32 xf32 , #xegpu.layout <sg_layout = [4 , 4 ], sg_data = [2 , 2 ], lane_layout = [2 , 2 ], lane_data = [1 , 1 ]>>
18+ %tdesc = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 >
19+ -> !xegpu.tensor_desc <24 x32 xf32 , #xegpu.layout <sg_layout = [4 , 4 ], sg_data = [2 , 2 ], lane_layout = [2 , 2 ], lane_data = [1 , 1 ]>>
1920 // CHECK-COUNT-12: xegpu.load_nd %{{.*}}
2021 // CHECK-SAME-COUNT-12: : !xegpu.tensor_desc<2x2xf32, #xegpu.layout<lane_layout = [2, 2], lane_data = [1, 1]>>
2122 // CHECK-SAME-COUNT-12: -> vector<2x2xf32>
@@ -45,7 +46,8 @@ gpu.module @test_round_robin_assignment {
4546 // CHECK-LABEL: test_update_nd
4647 // CHECK-SAME: %[[ARG_0:.*]]: memref<24x32xf32>
4748 gpu.func @test_update_nd (%src: memref <24 x32 xf32 >){
48- %tdesc = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 > -> !xegpu.tensor_desc <24 x32 xf32 , #xegpu.layout <sg_layout = [4 , 4 ], sg_data = [2 , 2 ], lane_layout = [2 , 2 ], lane_data = [1 , 1 ]>>
49+ %tdesc = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 >
50+ -> !xegpu.tensor_desc <24 x32 xf32 , #xegpu.layout <sg_layout = [4 , 4 ], sg_data = [2 , 2 ], lane_layout = [2 , 2 ], lane_data = [1 , 1 ]>>
4951 // CHECK-COUNT-12: xegpu.update_nd_offset %{{.*}}, [0, 16]
5052 // CHECK-SAME-COUNT-12: : !xegpu.tensor_desc<2x2xf32, #xegpu.layout<lane_layout = [2, 2], lane_data = [1, 1]>>
5153 // CHECK-NOT: xegpu.update_nd_offset
0 commit comments