@@ -49,16 +49,6 @@ template <typename T> struct AreAllButLastReductions<T> {
49
49
static constexpr bool value = !IsReduction<T>::value;
50
50
};
51
51
} // namespace detail
52
- } // __SYCL_INLINE_VER_NAMESPACE(_V1)
53
- } // namespace sycl
54
-
55
- #if __cplusplus >= 201703L
56
- // Entire feature is dependent on C++17. We still have to make the trait above
57
- // available as queue shortcuts use them unconditionally, including on
58
- // non-reduction path.
59
- namespace sycl {
60
- __SYCL_INLINE_VER_NAMESPACE (_V1) {
61
-
62
52
63
53
// / Class that is used to represent objects that are passed to user's lambda
64
54
// / functions and representing users' reduction variable.
@@ -2477,7 +2467,6 @@ auto reduction(T *Var, const T &Identity, BinaryOperation Combiner,
2477
2467
InitializeToIdentity);
2478
2468
}
2479
2469
2480
- #if __cplusplus >= 201703L
2481
2470
// / Constructs a reduction object using the reduction variable referenced by
2482
2471
// / the given sycl::span \p Span, reduction operation \p Combiner, and
2483
2472
// / optional reduction properties.
@@ -2524,9 +2513,5 @@ auto reduction(span<T, Extent> Span, const T &Identity,
2524
2513
return detail::make_reduction<BinaryOperation, 1 , Extent>(
2525
2514
Span.data (), Identity, Combiner, InitializeToIdentity);
2526
2515
}
2527
- #endif
2528
-
2529
2516
} // __SYCL_INLINE_VER_NAMESPACE(_V1)
2530
2517
} // namespace sycl
2531
-
2532
- #endif // __cplusplus >= 201703L
0 commit comments