We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f8a03 commit 5635959Copy full SHA for 5635959
sycl/include/CL/sycl/group.hpp
@@ -29,7 +29,7 @@ class Builder;
29
// Implements a barrier accross work items within a work group.
30
static inline void workGroupBarrier() {
31
#ifdef __SYCL_DEVICE_ONLY__
32
- uint32_t flags =
+ constexpr uint32_t flags =
33
static_cast<uint32_t>(
34
__spv::MemorySemanticsMask::SequentiallyConsistent) |
35
static_cast<uint32_t>(__spv::MemorySemanticsMask::WorkgroupMemory);
0 commit comments