@@ -38,9 +38,9 @@ void matrix_elem_wise_ops(big_matrix<T1, M, N> &C, big_matrix<T2, M, K> &A,
38
38
39
39
queue q;
40
40
q.submit ([&](handler &cgh) {
41
- accessor accC{bufC, cgh, read_write };
42
- accessor accA{bufA, cgh, read_write };
43
- accessor accB{bufB, cgh, read_write };
41
+ accessor accC{bufC, cgh};
42
+ accessor accA{bufA, cgh};
43
+ accessor accB{bufB, cgh};
44
44
45
45
cgh.parallel_for (
46
46
nd_range<2 >({NDRangeM, NDRangeN * SG_SZ}, {1 , 1 * SG_SZ}),
@@ -53,7 +53,7 @@ void matrix_elem_wise_ops(big_matrix<T1, M, N> &C, big_matrix<T2, M, K> &A,
53
53
const auto sg_startx = global_idx - spmd_item.get_local_id (0 );
54
54
const auto sg_starty = global_idy - spmd_item.get_local_id (1 );
55
55
56
- ext::oneapi:: sub_group sg = spmd_item.get_sub_group ();
56
+ sub_group sg = spmd_item.get_sub_group ();
57
57
joint_matrix<sub_group, T2, use::a, TM, TK, layout::row_major> sub_a;
58
58
// For B, we assume B has been already VNNIed.
59
59
joint_matrix<sub_group, T2, use::b, TK, TN,
0 commit comments