Skip to content

Commit

Permalink
[SYCL] Fix compilation of joint_matrix_apply_two_matrices.cpp (#13242)
Browse files Browse the repository at this point in the history
7fb3b20
replaces `#include <sycl/sycl.hpp>` to `#include <sycl/detail/core.hpp>`
in common.hpp. core.hpp doesn't include usm.hpp, used in the header file
modified by this patch.

---------

Co-authored-by: aelovikov-intel <andrei.elovikov@intel.com>
  • Loading branch information
bader and aelovikov-intel authored Apr 2, 2024
1 parent a4fdfda commit 16ff5a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sycl/test-e2e/Matrix/joint_matrix_apply_two_matrices_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include <sycl/usm.hpp>

template <typename Tc, typename Ta, size_t M, size_t N>
bool apply_verify(Tc *C, Tc *D, Ta *A, Ta *Ar) {
for (size_t i = 0; i < M; i++)
Expand Down

0 comments on commit 16ff5a5

Please sign in to comment.