@@ -85,7 +85,7 @@ namespace hpx::parallel::util::detail {
85
85
{
86
86
#if defined(HPX_HAVE_VECTOR_REDUCTION)
87
87
template <typename Iter1, typename T, typename Convert, typename Reduce>
88
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
88
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
89
89
is_arithmetic_plus_reduction_v<T, Reduce>, T>
90
90
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
91
91
{
@@ -99,7 +99,7 @@ namespace hpx::parallel::util::detail {
99
99
}
100
100
101
101
template <typename Iter1, typename T, typename Convert, typename Reduce>
102
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
102
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
103
103
is_arithmetic_minus_reduction_v<T, Reduce>, T>
104
104
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
105
105
{
@@ -113,7 +113,7 @@ namespace hpx::parallel::util::detail {
113
113
}
114
114
115
115
template <typename Iter1, typename T, typename Convert, typename Reduce>
116
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
116
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
117
117
is_arithmetic_multiplies_reduction_v<T, Reduce>, T>
118
118
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
119
119
{
@@ -127,7 +127,7 @@ namespace hpx::parallel::util::detail {
127
127
}
128
128
129
129
template <typename Iter1, typename T, typename Convert, typename Reduce>
130
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
130
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
131
131
is_arithmetic_bit_and_reduction_v<T, Reduce>, T>
132
132
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
133
133
{
@@ -141,7 +141,7 @@ namespace hpx::parallel::util::detail {
141
141
}
142
142
143
143
template <typename Iter1, typename T, typename Convert, typename Reduce>
144
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
144
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
145
145
is_arithmetic_bit_or_reduction_v<T, Reduce>, T>
146
146
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
147
147
{
@@ -155,7 +155,7 @@ namespace hpx::parallel::util::detail {
155
155
}
156
156
157
157
template <typename Iter1, typename T, typename Convert, typename Reduce>
158
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
158
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
159
159
is_arithmetic_bit_xor_reduction_v<T, Reduce>, T>
160
160
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
161
161
{
@@ -169,7 +169,7 @@ namespace hpx::parallel::util::detail {
169
169
}
170
170
171
171
template <typename Iter1, typename T, typename Convert, typename Reduce>
172
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
172
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
173
173
is_arithmetic_logical_and_reduction_v<T, Reduce>, T>
174
174
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
175
175
{
@@ -183,7 +183,7 @@ namespace hpx::parallel::util::detail {
183
183
}
184
184
185
185
template <typename Iter1, typename T, typename Convert, typename Reduce>
186
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
186
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
187
187
is_arithmetic_logical_or_reduction_v<T, Reduce>, T>
188
188
reduce (Iter1 it, std::size_t count, T init, Reduce /* */ , Convert conv)
189
189
{
@@ -197,7 +197,7 @@ namespace hpx::parallel::util::detail {
197
197
}
198
198
#endif
199
199
template <typename Iter1, typename T, typename Convert, typename Reduce>
200
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
200
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
201
201
is_not_omp_reduction_v<T, Reduce>, T>
202
202
reduce (Iter1 it, std::size_t count, T init, Reduce r, Convert conv)
203
203
{
@@ -274,7 +274,7 @@ namespace hpx::parallel::util::detail {
274
274
#if defined(HPX_HAVE_VECTOR_REDUCTION)
275
275
template <typename Iter1, typename Iter2, typename T, typename Convert,
276
276
typename Reduce>
277
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
277
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
278
278
is_arithmetic_plus_reduction_v<T, Reduce>, T>
279
279
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
280
280
Convert conv)
@@ -290,7 +290,7 @@ namespace hpx::parallel::util::detail {
290
290
291
291
template <typename Iter1, typename Iter2, typename T, typename Convert,
292
292
typename Reduce>
293
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
293
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
294
294
is_arithmetic_minus_reduction_v<T, Reduce>, T>
295
295
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
296
296
Convert conv)
@@ -306,7 +306,7 @@ namespace hpx::parallel::util::detail {
306
306
307
307
template <typename Iter1, typename Iter2, typename T, typename Convert,
308
308
typename Reduce>
309
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
309
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
310
310
is_arithmetic_multiplies_reduction_v<T, Reduce>, T>
311
311
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
312
312
Convert conv)
@@ -322,7 +322,7 @@ namespace hpx::parallel::util::detail {
322
322
323
323
template <typename Iter1, typename Iter2, typename T, typename Convert,
324
324
typename Reduce>
325
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
325
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
326
326
is_arithmetic_bit_and_reduction_v<T, Reduce>, T>
327
327
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
328
328
Convert conv)
@@ -338,7 +338,7 @@ namespace hpx::parallel::util::detail {
338
338
339
339
template <typename Iter1, typename Iter2, typename T, typename Convert,
340
340
typename Reduce>
341
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
341
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
342
342
is_arithmetic_bit_or_reduction_v<T, Reduce>, T>
343
343
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
344
344
Convert conv)
@@ -370,7 +370,7 @@ namespace hpx::parallel::util::detail {
370
370
371
371
template <typename Iter1, typename Iter2, typename T, typename Convert,
372
372
typename Reduce>
373
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
373
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
374
374
is_arithmetic_logical_and_reduction_v<T, Reduce>, T>
375
375
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
376
376
Convert conv)
@@ -386,7 +386,7 @@ namespace hpx::parallel::util::detail {
386
386
387
387
template <typename Iter1, typename Iter2, typename T, typename Convert,
388
388
typename Reduce>
389
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
389
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
390
390
is_arithmetic_logical_or_reduction_v<T, Reduce>, T>
391
391
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce /* */ ,
392
392
Convert conv)
@@ -402,7 +402,7 @@ namespace hpx::parallel::util::detail {
402
402
#endif
403
403
template <typename Iter1, typename Iter2, typename T, typename Convert,
404
404
typename Reduce>
405
- HPX_HOST_DEVICE HPX_FORCEINLINE static constexpr std::enable_if_t <
405
+ HPX_HOST_DEVICE HPX_FORCEINLINE static std::enable_if_t <
406
406
is_not_omp_reduction_v<T, Reduce>, T>
407
407
reduce (Iter1 it1, Iter2 it2, std::size_t count, T init, Reduce r,
408
408
Convert conv)
0 commit comments