Skip to content

Commit 950c572

Browse files
author
Steffen Larsen
committed
Remove redundant disjunction
Signed-off-by: Steffen Larsen <[email protected]>
1 parent 61310e3 commit 950c572

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/include/CL/sycl/detail/spirv.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ EnableIfGenericBroadcast<T> GroupBroadcast(T x, id<Dimensions> local_id) {
225225
// Although consume is unsupported, forwarding to acquire is valid
226226
template <typename T>
227227
static inline constexpr
228-
typename std::enable_if<std::is_same<T, sycl::memory_order>::value ||
229-
std::is_same<T, sycl::memory_order>::value,
228+
typename std::enable_if<std::is_same<T, sycl::memory_order>::value,
230229
__spv::MemorySemanticsMask::Flag>::type
231230
getMemorySemanticsMask(T Order) {
232231
__spv::MemorySemanticsMask::Flag SpvOrder = __spv::MemorySemanticsMask::None;

0 commit comments

Comments
 (0)