Skip to content

Commit 16ff5a5

Browse files
[SYCL] Fix compilation of joint_matrix_apply_two_matrices.cpp (#13242)
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 <[email protected]>
1 parent a4fdfda commit 16ff5a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test-e2e/Matrix/joint_matrix_apply_two_matrices_impl.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
#include <sycl/usm.hpp>
9+
810
template <typename Tc, typename Ta, size_t M, size_t N>
911
bool apply_verify(Tc *C, Tc *D, Ta *A, Ta *Ar) {
1012
for (size_t i = 0; i < M; i++)

0 commit comments

Comments
 (0)