17 #include <type_traits>
20 inline namespace _V1 {
22 template <
typename Group>
23 std::enable_if_t<is_group_v<Group>>
28 #ifdef __SYCL_DEVICE_ONLY__
34 "Barriers are not supported on host");
fence_scope
The scope that fence() operation should apply to.
void group_barrier(ext::oneapi::experimental::root_group< dimensions > G, memory_scope FenceScope=decltype(G)::fence_scope)
std::error_code make_error_code(sycl::errc E) noexcept
Constructs an error code using e and sycl_category()