Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/test-e2e/Matrix/get_coord_bf16_matA_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void matrix_sum_rows(queue q, big_matrix<T, M, K> &A, nd_range<2> &r) {
sub_a;

joint_matrix_load(
sg, sub_a, accA.template get_multi_ptr<access::decorated::no>() + (global_idx * TM * K) + TK,
sg, sub_a, accA.template get_multi_ptr<access::decorated::no>() + (sg_startx * TM * K) + sg_starty / SG_SZ * TK,
K);

// calculate sum of rows in sum_rows_v[8], there are 8 rows in sub_a
Expand Down Expand Up @@ -175,7 +175,7 @@ int main() {

for (int i = 0; i < MATRIX_M; i++) {
for (int j = 0; j < MATRIX_K; j++) {
A[i][j] = i;
A[i][j] = i + j;
}
}

Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Matrix/get_coord_bf16_matB_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void matrix_sum_cols(queue q, big_matrix<T, M, N> &B, nd_range<2> &r) {
joint_matrix_load(
sg, sub_b,
accB.template get_multi_ptr<access::decorated::no>() +
(global_idx * (TK / 4) * N) + sg_starty / SG_SZ * TN * 4,
(sg_startx * (TK / 4) * N) + sg_starty / SG_SZ * TN * 4,
N);

int32_t sum_local_cols[N] = {0}; // 4 local cols, N total
Expand Down Expand Up @@ -207,7 +207,7 @@ int main() {

for (int i = 0; i < MATRIX_K; i++) {
for (int j = 0; j < MATRIX_N; j++) {
B[i][j] = i;
B[i][j] = i + j;
}
}

Expand Down