Skip to content

Commit 94f9b70

Browse files
committed
Remove operator names
Signed-off-by: John Pennycook <[email protected]>
1 parent 8df293c commit 94f9b70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/include/sycl/reduction.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ template <typename T> struct IsDeterministicOperator : std::false_type {};
9393
// and on same device.
9494
template <typename T, class BinaryOperation>
9595
using IsReduOptForFastAtomicFetch =
96-
std::bool_constant<not IsDeterministicOperator<BinaryOperation>::value &&
96+
std::bool_constant<!IsDeterministicOperator<BinaryOperation>::value &&
9797
((is_sgenfloat_v<T> && sizeof(T) == 4) ||
9898
is_sgeninteger_v<T>) &&
9999
IsValidAtomicType<T>::value &&
@@ -112,7 +112,7 @@ using IsReduOptForFastAtomicFetch =
112112
// IsReduOptForFastReduce.
113113
template <typename T, class BinaryOperation>
114114
using IsReduOptForAtomic64Op =
115-
std::bool_constant<not IsDeterministicOperator<BinaryOperation>::value &&
115+
std::bool_constant<!IsDeterministicOperator<BinaryOperation>::value &&
116116
(IsPlus<T, BinaryOperation>::value ||
117117
IsMinimum<T, BinaryOperation>::value ||
118118
IsMaximum<T, BinaryOperation>::value) &&
@@ -123,7 +123,7 @@ using IsReduOptForAtomic64Op =
123123
// for using in reduction.
124124
template <typename T, class BinaryOperation>
125125
using IsReduOptForFastReduce =
126-
std::bool_constant<not IsDeterministicOperator<BinaryOperation>::value &&
126+
std::bool_constant<!IsDeterministicOperator<BinaryOperation>::value &&
127127
((is_sgeninteger_v<T> &&
128128
(sizeof(T) == 4 || sizeof(T) == 8)) ||
129129
is_sgenfloat_v<T>) &&

0 commit comments

Comments
 (0)