@@ -18,7 +18,7 @@ void matrix_multiply(big_matrix<TResult, M, N> &C, big_matrix<T, M, K> &A,
1818 buffer<TResult, 2 > bufC (C.get_data (), range<2 >(M, N));
1919
2020 queue q;
21- size_t sg_size = get_sg_size<mult<T , TM, TN, TK>>(q);
21+ size_t sg_size = get_sg_size<mult<TResult , TM, TN, TK>>(q);
2222 q.submit ([&](handler &cgh) {
2323 accessor accA{bufA, cgh};
2424 accessor accB{bufB, cgh};
@@ -127,15 +127,15 @@ int main() {
127127 // This combination is not currently supported for sub group size = 32 in
128128 // IGC
129129#if (!defined(SG_SZ) || SG_SZ != 32)
130- // test<half, float , /*TM*/ 16, /*TN*/ 16, /*TK*/ 16>();
130+ // test<float, half , /*TM*/ 16, /*TN*/ 16, /*TK*/ 16>();
131131 // test<half, half, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16>();
132- // test<half, float , /*TM*/ 1, /*TN*/ 64, /*TK*/ 16>();
132+ // test<float, half , /*TM*/ 1, /*TN*/ 64, /*TK*/ 16>();
133133 // test<half, half, /*TM*/ 1, /*TN*/ 64, /*TK*/ 16>();
134- // test<half, float , /*TM*/ 32, /*TN*/ 64, /*TK*/ 16>();
134+ // test<float, half , /*TM*/ 32, /*TN*/ 64, /*TK*/ 16>();
135135 // test<half, half, /*TM*/ 32, /*TN*/ 64, /*TK*/ 16>();
136- // test<half, float , /*TM*/ 1, /*TN*/ 64, /*TK*/ 32>();
136+ // test<float, half , /*TM*/ 1, /*TN*/ 64, /*TK*/ 32>();
137137 // test<half, half, /*TM*/ 1, /*TN*/ 64, /*TK*/ 32>();
138- // test<half, float , /*TM*/ 32, /*TN*/ 64, /*TK*/ 32>();
138+ // test<float, half , /*TM*/ 32, /*TN*/ 64, /*TK*/ 32>();
139139 // test<half, half, /*TM*/ 32, /*TN*/ 64, /*TK*/ 32>();
140140#endif
141141 break ;
0 commit comments