Skip to content

Commit 70cad4e

Browse files
[SYCL][E2E] Switch some of KernelAndProgram/* tests to use <sycl/detail/core.hpp> (#13123)
1 parent d7d1731 commit 70cad4e

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

sycl/test-e2e/KernelAndProgram/cache_env_vars.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464

6565
#include <chrono>
6666
#include <iostream>
67-
#include <sycl/sycl.hpp>
67+
#include <sycl/detail/core.hpp>
68+
6869
class Inc;
6970
template <class Kernel> void check_build_time(sycl::queue &q) {
7071
auto start = std::chrono::steady_clock::now();

sycl/test-e2e/KernelAndProgram/disable-caching.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// RUN: | FileCheck %s
77
// RUN: env ZE_DEBUG=-6 SYCL_PI_TRACE=-1 %{run} %t.out \
88
// RUN: | FileCheck %s --check-prefixes=CHECK-CACHE
9-
#include <sycl/sycl.hpp>
9+
10+
#include <sycl/detail/core.hpp>
11+
12+
#include <sycl/specialization_id.hpp>
13+
#include <sycl/usm.hpp>
1014

1115
using namespace sycl;
1216

sycl/test-e2e/KernelAndProgram/kernel-bundle-merge-options.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define SYCL2020_DISABLE_DEPRECATION_WARNINGS
22

3-
#include <sycl/sycl.hpp>
3+
#include <sycl/detail/core.hpp>
44

55
class KernelName;
66

sycl/test-e2e/KernelAndProgram/spec_constants_after_link.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
// This test checks that specialization constant information is available on
1414
// kernel bundles produced by sycl::link.
1515

16-
#include <sycl/sycl.hpp>
16+
#include <sycl/detail/core.hpp>
17+
18+
#include <sycl/specialization_id.hpp>
1719

1820
#include <optional>
1921
#include <vector>

sycl/test-e2e/KernelAndProgram/target_register_alloc_mode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// CHECK-OPT: ---> piProgramBuild(
1212
// CHECK-OPT: -ze-intel-enable-auto-large-GRF-mode
1313

14-
#include <sycl/sycl.hpp>
14+
#include <sycl/detail/core.hpp>
1515

1616
int main() {
1717
sycl::buffer<size_t, 1> Buffer(4);

0 commit comments

Comments
 (0)