Skip to content

Commit

Permalink
optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriPlyakhin committed Mar 21, 2024
1 parent f15d74a commit 81102bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/test-e2e/Matrix/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ void matrix_multiply_ref(Ta *A, Tb *B, Tc *C, int M, int N, int K,
else
assert(false && "Unsupported type in matrix_multiply_ref.");
}
*(C + c_ind) = acc;
}

if constexpr (!std::is_same_v<F, std::nullptr_t>) {
lambda(*(C + c_ind));
lambda(acc);
}
*(C + c_ind) = acc;
}
}
}
Expand Down

0 comments on commit 81102bb

Please sign in to comment.