Skip to content

Commit 9a6d701

Browse files
committed
clean up after review
1 parent e5079f3 commit 9a6d701

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/test-e2e/Matrix/element_wise_abc_impl.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ void matrix_elem_wise_ops(big_matrix<T1, M, N> &C, big_matrix<T2, M, K> &A,
3838

3939
queue q;
4040
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};
4444

4545
cgh.parallel_for(
4646
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,
5353
const auto sg_startx = global_idx - spmd_item.get_local_id(0);
5454
const auto sg_starty = global_idy - spmd_item.get_local_id(1);
5555

56-
ext::oneapi::sub_group sg = spmd_item.get_sub_group();
56+
sub_group sg = spmd_item.get_sub_group();
5757
joint_matrix<sub_group, T2, use::a, TM, TK, layout::row_major> sub_a;
5858
// For B, we assume B has been already VNNIed.
5959
joint_matrix<sub_group, T2, use::b, TK, TN,

0 commit comments

Comments
 (0)