@@ -78,7 +78,7 @@ func.func @test_load_nd_vc_3(%src: memref<8x16xf16>) {
7878}
7979
8080// -----
81- func.func @test_load_nd_vc_4 (%src: memref <24 x32 xf32 >) {
81+ func.func @test_load_nd_sg_map (%src: memref <24 x32 xf32 >) {
8282 %1 = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 > ->
8383 !xegpu.tensor_desc <8 x16 xf32 , #xegpu.sg_map <wi_layout = [1 , 16 ], wi_data = [1 , 1 ]>>
8484 // expected-error@+1 {{Result shape [8, 2] is not consistent with distributed vector shape [8, 1]}}
@@ -90,7 +90,7 @@ func.func @test_load_nd_vc_4(%src: memref<24x32xf32>) {
9090}
9191
9292// -----
93- func.func @test_load_nd_vc_5 (%src: memref <24 x32 xf32 >) {
93+ func.func @test_load_nd_sg_map (%src: memref <24 x32 xf32 >) {
9494 %1 = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 > ->
9595 !xegpu.tensor_desc <16 xf32 , #xegpu.sg_map <wi_layout = [1 , 16 ], wi_data = [1 , 1 ]>>
9696 // expected-error@+1 {{Result shape [8] is not consistent with distributed vector shape [1, 1]}}
@@ -105,7 +105,7 @@ func.func @test_load_nd_vc_5(%src: memref<24x32xf32>) {
105105func.func @test_load_nd_vc_6 (%src: memref <24 x32 xf32 >) {
106106 %1 = xegpu.create_nd_tdesc %src [0 , 0 ] : memref <24 x32 xf32 > ->
107107 !xegpu.tensor_desc <8 x16 xf32 >
108- // expected-error@+1 {{Result shape [8, 1] is not consistent with tensor descripter }}
108+ // expected-error@+1 {{Result shape [8, 1] is not consistent with tensor descriptor }}
109109 %2 = xegpu.load_nd %1 <{l1_hint = #xegpu.cache_hint <cached >,
110110 l2_hint = #xegpu.cache_hint <uncached >}>
111111 : !xegpu.tensor_desc <8 x16 xf32 > -> vector <8 x1 xf32 >
@@ -134,7 +134,7 @@ func.func @test_store_nd_vc_2(%dst: memref<16xf16>) {
134134}
135135
136136// -----
137- func.func @test_store_nd_vc_3 (%dst: memref <24 x32 xf32 >, %data: vector <8 x2 xf32 >) {
137+ func.func @test_store_nd_sg_map (%dst: memref <24 x32 xf32 >, %data: vector <8 x2 xf32 >) {
138138 %1 = xegpu.create_nd_tdesc %dst [0 , 0 ] : memref <24 x32 xf32 > ->
139139 !xegpu.tensor_desc <8 x16 xf32 , #xegpu.sg_map <wi_layout = [1 , 16 ], wi_data = [1 , 1 ]>>
140140 // expected-error@+1 {{Result shape [8, 2] is not consistent with distributed vector shape [8, 1] for tensor descriptor}}
@@ -144,7 +144,7 @@ func.func @test_store_nd_vc_3(%dst: memref<24x32xf32>, %data: vector<8x2xf32>) {
144144}
145145
146146// -----
147- func.func @test_store_nd_vc_4 (%dst: memref <24 x32 xf32 >, %data: vector <2 xf32 >) {
147+ func.func @test_store_nd_sg_map (%dst: memref <24 x32 xf32 >, %data: vector <2 xf32 >) {
148148 %1 = xegpu.create_nd_tdesc %dst [0 , 0 ] : memref <24 x32 xf32 > ->
149149 !xegpu.tensor_desc <16 xf32 , #xegpu.sg_map <wi_layout = [1 , 16 ], wi_data = [1 , 1 ]>>
150150 // expected-error@+1 {{Result shape [2] is not consistent with distributed vector shape [1, 1] for tensor descriptor}}
@@ -157,7 +157,7 @@ func.func @test_store_nd_vc_4(%dst: memref<24x32xf32>, %data: vector<2xf32>) {
157157func.func @test_store_nd_vc_5 (%dst: memref <24 x32 xf32 >, %data: vector <8 x1 xf32 >) {
158158 %1 = xegpu.create_nd_tdesc %dst [0 , 0 ] : memref <24 x32 xf32 > ->
159159 !xegpu.tensor_desc <8 x16 xf32 >
160- // expected-error@+1 {{Result shape [8, 1] is not consistent with tensor descripter shape [8, 16]}}
160+ // expected-error@+1 {{Result shape [8, 1] is not consistent with tensor descriptor shape [8, 16]}}
161161 xegpu.store_nd %data , %1 : vector <8 x1 xf32 >, !xegpu.tensor_desc <8 x16 xf32 >
162162 return
163163}
0 commit comments