Skip to content

Commit cef0bdb

Browse files
[SYCL] Use sycl/detail/core.hpp in test-e2e/GroupAlgorithm/load_store/* (#13840)
Continuation of changes started in #12890.
1 parent e3c22ea commit cef0bdb

File tree

7 files changed

+23
-6
lines changed

7 files changed

+23
-6
lines changed

sycl/include/sycl/ext/oneapi/experimental/group_load_store.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#pragma once
1212

1313
#include <sycl/ext/oneapi/properties/properties.hpp>
14+
#include <sycl/group_barrier.hpp>
1415
#include <sycl/sycl_span.hpp>
1516

1617
#include <cstring>

sycl/test-e2e/GroupAlgorithm/load_store/basic.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
6+
7+
#include <numeric>
58

69
int main() {
710
using namespace sycl;

sycl/test-e2e/GroupAlgorithm/load_store/conversions_load.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
6+
7+
#include <numeric>
58

69
struct S {
710
S() : i(-1) {}

sycl/test-e2e/GroupAlgorithm/load_store/conversions_store.cpp

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

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
56

67
struct S {
78
operator int() const { return i + 42; }

sycl/test-e2e/GroupAlgorithm/load_store/odd_sized_type.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
6+
7+
#include <numeric>
58

69
using namespace sycl;
710
namespace sycl_exp = sycl::ext::oneapi::experimental;

sycl/test-e2e/GroupAlgorithm/load_store/odd_wg_size.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
6+
7+
#include <numeric>
58

69
using namespace sycl;
710
namespace sycl_exp = sycl::ext::oneapi::experimental;

sycl/test-e2e/GroupAlgorithm/load_store/partial_sg.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
#include <sycl/sycl.hpp>
4+
#include <sycl/detail/core.hpp>
5+
#include <sycl/ext/oneapi/experimental/group_load_store.hpp>
6+
7+
#include <numeric>
58

69
using namespace sycl;
710
namespace sycl_exp = sycl::ext::oneapi::experimental;

0 commit comments

Comments
 (0)