33 template <
typename Group>
34 typename std::enable_if<is_group_v<Group>>::type
37 #ifdef __SYCL_DEVICE_ONLY__
43 sycl::detail::spirv::getScope(FenceScope),
49 throw sycl::runtime_error(
"Barriers are not supported on host device",
50 PI_ERROR_INVALID_DEVICE);
#define __SYCL_INLINE_VER_NAMESPACE(X)
std::enable_if< is_group_v< Group > >::type group_barrier(Group, memory_scope FenceScope=Group::fence_scope)
---— Error handling, matching OpenCL plugin semantics.
__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_ControlBarrier(__spv::Scope Execution, __spv::Scope Memory, uint32_t Semantics) noexcept