Skip to content

Commit 743a9ef

Browse files
[SYCL][E2E] Use fine-grained includes in Matrix/* tests (#13845)
1 parent bf1795b commit 743a9ef

10 files changed

+20
-10
lines changed

sycl/test-e2e/Matrix/elemwise_irreg_size_ops_bf16.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
// RUN: %{run} %t.out
1616

1717
#include <iostream>
18-
#include <sycl/sycl.hpp>
18+
#include <sycl/detail/core.hpp>
19+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1920

2021
using namespace sycl;
2122
using namespace sycl::ext::oneapi::experimental::matrix;

sycl/test-e2e/Matrix/joint_matrix_gemm_cuda.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
// supported for the Nvidia matrix extension, although some JIT optimizations
1313
// are performed at the level of the PTX assembly code.
1414

15-
#include <sycl/sycl.hpp>
15+
#include <sycl/detail/core.hpp>
16+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1617

1718
using namespace sycl;
1819
using namespace sycl::ext::oneapi;

sycl/test-e2e/Matrix/joint_matrix_hip_apply.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <sycl/sycl.hpp>
9+
#include <sycl/detail/core.hpp>
10+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1011

1112
#include <cstddef>
1213
#include <cstdint>

sycl/test-e2e/Matrix/joint_matrix_hip_copy.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <sycl/sycl.hpp>
9+
#include <sycl/detail/core.hpp>
10+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1011

1112
#include <cstddef>
1213
#include <cstdint>

sycl/test-e2e/Matrix/joint_matrix_hip_fill.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <sycl/sycl.hpp>
9+
#include <sycl/detail/core.hpp>
10+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1011

1112
#include <cstddef>
1213
#include <cstdint>

sycl/test-e2e/Matrix/joint_matrix_hip_mfma.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <sycl/sycl.hpp>
9+
#include <sycl/detail/core.hpp>
10+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1011

1112
#include <cstddef>
1213
#include <cstdint>

sycl/test-e2e/Matrix/joint_matrix_query_default.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
// RUN: %{run} %t.out
1414

1515
#include <iostream>
16-
#include <sycl/sycl.hpp>
16+
#include <sycl/detail/core.hpp>
17+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1718

1819
using namespace sycl;
1920
using namespace sycl::ext::oneapi::experimental::matrix;

sycl/test-e2e/Matrix/runtime_query_hip_gfx90a.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// RUN: %{build} -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a -o %t.out
1111
// RUN: %{run} %t.out
1212

13-
#include <sycl/sycl.hpp>
13+
#include <sycl/detail/core.hpp>
14+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1415

1516
using namespace sycl::ext::oneapi::experimental::matrix;
1617

sycl/test-e2e/Matrix/runtime_query_spr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// RUN: %{build} -o %t.out
1111
// RUN: %{run} %t.out
1212

13-
#include <sycl/sycl.hpp>
13+
#include <sycl/detail/core.hpp>
14+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1415

1516
using namespace sycl::ext::oneapi::experimental::matrix;
1617

sycl/test-e2e/Matrix/runtime_query_tensorcores.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// RUN: %{build} -o %t.out
1111
// RUN: %{run} %t.out
1212

13-
#include <sycl/sycl.hpp>
13+
#include <sycl/detail/core.hpp>
14+
#include <sycl/ext/oneapi/matrix/matrix.hpp>
1415

1516
using namespace sycl::ext::oneapi::experimental::matrix;
1617

0 commit comments

Comments
 (0)