@@ -2247,11 +2247,10 @@ template <typename argTy, typename outTy>
2247
2247
struct TypePairSupportDataForCompReductionAtomic
2248
2248
{
2249
2249
2250
- /* value if true a kernel for <argTy, outTy> must be instantiated, false
2250
+ /* value is true if a kernel for <argTy, outTy> must be instantiated, false
2251
2251
* otherwise */
2252
- static constexpr bool is_defined = std::disjunction< // disjunction is C++17
2253
- // feature, supported
2254
- // by DPC++
2252
+ // disjunction is C++17 feature, supported by DPC++
2253
+ static constexpr bool is_defined = std::disjunction<
2255
2254
// input int32
2256
2255
td_ns::TypePairDefinedEntry<argTy, std::int32_t , outTy, std::int32_t >,
2257
2256
// input uint32
@@ -2260,6 +2259,10 @@ struct TypePairSupportDataForCompReductionAtomic
2260
2259
td_ns::TypePairDefinedEntry<argTy, std::int64_t , outTy, std::int64_t >,
2261
2260
// input uint64
2262
2261
td_ns::TypePairDefinedEntry<argTy, std::uint64_t , outTy, std::uint64_t >,
2262
+ // input float
2263
+ td_ns::TypePairDefinedEntry<argTy, float , outTy, float >,
2264
+ // input double
2265
+ td_ns::TypePairDefinedEntry<argTy, double , outTy, double >,
2263
2266
// fall-through
2264
2267
td_ns::NotDefinedEntry>::is_defined;
2265
2268
};
@@ -2268,19 +2271,17 @@ template <typename argTy, typename outTy>
2268
2271
struct TypePairSupportDataForCompReductionTemps
2269
2272
{
2270
2273
2271
- static constexpr bool is_defined = std::disjunction< // disjunction is C++17
2272
- // feature, supported
2273
- // by DPC++ input bool
2274
+ // disjunction is C++17 feature, supported by DPC++
2275
+ static constexpr bool is_defined = std::disjunction<
2276
+ // input bool
2274
2277
td_ns::TypePairDefinedEntry<argTy, bool , outTy, bool >,
2275
2278
// input int8_t
2276
2279
td_ns::TypePairDefinedEntry<argTy, std::int8_t , outTy, std::int8_t >,
2277
-
2278
2280
// input uint8_t
2279
2281
td_ns::TypePairDefinedEntry<argTy, std::uint8_t , outTy, std::uint8_t >,
2280
2282
2281
2283
// input int16_t
2282
2284
td_ns::TypePairDefinedEntry<argTy, std::int16_t , outTy, std::int16_t >,
2283
-
2284
2285
// input uint16_t
2285
2286
td_ns::TypePairDefinedEntry<argTy, std::uint16_t , outTy, std::uint16_t >,
2286
2287
0 commit comments