File tree Expand file tree Collapse file tree 5 files changed +32
-10
lines changed Expand file tree Collapse file tree 5 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
#pragma once
9
9
10
- #include < sycl/detail/helpers.hpp> // for Builder
11
- #include < sycl/detail/memcpy.hpp> // detail::memcpy
12
- #include < sycl/exception.hpp> // for errc, exception
13
- #include < sycl/feature_test.hpp> // for SYCL_EXT_ONEAPI_SUB_GROUP_MASK
14
- #include < sycl/id.hpp> // for id
15
- #include < sycl/marray.hpp> // for marray
16
- #include < sycl/types.hpp> // for vec
10
+ #include < sycl/builtins.hpp> // for assert
11
+ #include < sycl/detail/helpers.hpp> // for Builder
12
+ #include < sycl/detail/memcpy.hpp> // detail::memcpy
13
+ #include < sycl/exception.hpp> // for errc, exception
14
+ #include < sycl/feature_test.hpp> // for SYCL_EXT_ONEAPI_SUB_GROUP_MASK
15
+ #include < sycl/id.hpp> // for id
16
+ #include < sycl/marray.hpp> // for marray
17
+ #include < sycl/types.hpp> // for vec
17
18
18
19
#include < assert.h> // for assert
19
20
#include < climits> // for CHAR_BIT
Original file line number Diff line number Diff line change 16
16
//
17
17
// ===----------------------------------------------------------------------===//
18
18
19
+ #include < sycl/detail/core.hpp>
20
+ #include < sycl/ext/oneapi/sub_group_mask.hpp>
21
+
19
22
#include < iostream>
20
- #include < sycl/sycl.hpp>
21
23
using namespace sycl ;
22
24
constexpr int global_size = 128 ;
23
25
constexpr int local_size = 32 ;
Original file line number Diff line number Diff line change 15
15
//
16
16
// ===----------------------------------------------------------------------===//
17
17
18
+ // TODO: switch to <sycl/detail/core.hpp> once we decide how feature macros
19
+ // should work in that scenario.
20
+ #include < sycl/detail/core.hpp>
21
+ #include < sycl/ext/oneapi/sub_group_mask.hpp>
22
+
18
23
#include < iostream>
19
- # include < sycl/sycl.hpp >
24
+
20
25
using namespace sycl ;
21
26
#ifdef SYCL_EXT_ONEAPI_SUB_GROUP_MASK
22
27
constexpr int global_size = 128 ;
Original file line number Diff line number Diff line change 2
2
// RUN: %{run} %t.out
3
3
4
4
#include < iostream>
5
- #include < sycl/sycl.hpp>
5
+ #include < sycl/detail/core.hpp>
6
+ #include < sycl/ext/oneapi/sub_group_mask.hpp>
6
7
7
8
#define TEST_ON_DEVICE (TEST_BODY ) \
8
9
{ \
Original file line number Diff line number Diff line change 143
143
// CHECK-NEXT: detail/spirv.hpp
144
144
// CHECK-NEXT: ext/oneapi/experimental/non_uniform_groups.hpp
145
145
// CHECK-NEXT: ext/oneapi/sub_group_mask.hpp
146
+ // CHECK-NEXT: builtins.hpp
147
+ // CHECK-NEXT: detail/builtins/builtins.hpp
148
+ // CHECK-NEXT: builtins_utils_vec.hpp
149
+ // CHECK-NEXT: builtins_utils_scalar.hpp
150
+ // CHECK-NEXT: detail/boolean.hpp
151
+ // CHECK-NEXT: detail/builtins/common_functions.inc
152
+ // CHECK-NEXT: detail/builtins/helper_macros.hpp
153
+ // CHECK-NEXT: detail/builtins/geometric_functions.inc
154
+ // CHECK-NEXT: detail/builtins/half_precision_math_functions.inc
155
+ // CHECK-NEXT: detail/builtins/integer_functions.inc
156
+ // CHECK-NEXT: detail/builtins/math_functions.inc
157
+ // CHECK-NEXT: detail/builtins/native_math_functions.inc
158
+ // CHECK-NEXT: detail/builtins/relational_functions.inc
146
159
// CHECK-NEXT: feature_test.hpp
147
160
// CHECK-NEXT: functional.hpp
148
161
// CHECK-NEXT: device.hpp
You can’t perform that action at this time.
0 commit comments