Skip to content

Commit b0b97a9

Browse files
[SYCL] Use sycl/detail/core.hpp in test-e2e/UserDefinedReductions/* (#13841)
Continuation of changes started in #12890.
1 parent c5f88aa commit b0b97a9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#pragma once
1010

1111
#include <sycl/detail/defines.hpp>
12+
#include <sycl/ext/oneapi/experimental/group_helpers_sorters.hpp>
1213
#include <sycl/group_algorithm.hpp>
1314

1415
namespace sycl {

sycl/test-e2e/UserDefinedReductions/user_defined_reductions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <complex>
55
#include <numeric>
66

7+
#include <sycl/detail/core.hpp>
78
#include <sycl/ext/oneapi/experimental/user_defined_reductions.hpp>
8-
#include <sycl/sycl.hpp>
99

1010
template <typename T> struct UserDefinedSum {
1111
T operator()(T a, T b) { return a + b; }

sycl/test-e2e/UserDefinedReductions/user_defined_reductions_wg_size_larger_than_data_size.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <iostream>
55
#include <numeric>
66

7+
#include <sycl/detail/core.hpp>
78
#include <sycl/ext/oneapi/experimental/user_defined_reductions.hpp>
8-
#include <sycl/sycl.hpp>
99

1010
// 1. Allocate an buffer of 16 elements where first 8 elements filled with 1,
1111
// ..., 8 and the second 8 elements filled with 0.

0 commit comments

Comments
 (0)