#include <sycl/ext/oneapi/experimental/ballot_group.hpp>
Public Types | |
using | id_type = id< 1 > |
using | range_type = range< 1 > |
using | linear_id_type = typename ParentGroup::linear_id_type |
Public Member Functions | |
id_type | get_group_id () const |
id_type | get_local_id () const |
range_type | get_group_range () const |
range_type | get_local_range () const |
linear_id_type | get_group_linear_id () const |
linear_id_type | get_local_linear_id () const |
linear_id_type | get_group_linear_range () const |
linear_id_type | get_local_linear_range () const |
bool | leader () const |
Static Public Attributes | |
static constexpr int | dimensions = 1 |
static constexpr sycl::memory_scope | fence_scope = ParentGroup::fence_scope |
Protected Member Functions | |
ballot_group (sub_group_mask m, bool p) | |
Protected Attributes | |
const sub_group_mask | Mask |
const bool | Predicate |
Friends | |
ballot_group< ParentGroup > | get_ballot_group (ParentGroup g, bool predicate) |
sub_group_mask | sycl::detail::GetMask (ballot_group< ParentGroup > Group) |
Definition at line 39 of file ballot_group.hpp.
using sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::id_type = id<1> |
Definition at line 41 of file ballot_group.hpp.
using sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::linear_id_type = typename ParentGroup::linear_id_type |
Definition at line 43 of file ballot_group.hpp.
using sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::range_type = range<1> |
Definition at line 42 of file ballot_group.hpp.
|
inlineprotected |
Definition at line 133 of file ballot_group.hpp.
|
inline |
Definition at line 47 of file ballot_group.hpp.
References sycl::_V1::make_error_code(), sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::Predicate, and sycl::_V1::runtime.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_group_linear_id().
|
inline |
Definition at line 83 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_group_id(), sycl::_V1::make_error_code(), and sycl::_V1::runtime.
|
inline |
Definition at line 101 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_group_range(), sycl::_V1::make_error_code(), and sycl::_V1::runtime.
|
inline |
Definition at line 65 of file ballot_group.hpp.
References sycl::_V1::make_error_code(), and sycl::_V1::runtime.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_group_linear_range().
|
inline |
Definition at line 56 of file ballot_group.hpp.
References sycl::_V1::make_error_code(), sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::Mask, and sycl::_V1::runtime.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_linear_id().
|
inline |
Definition at line 92 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_id(), sycl::_V1::make_error_code(), and sycl::_V1::runtime.
|
inline |
Definition at line 110 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_range(), sycl::_V1::make_error_code(), and sycl::_V1::runtime.
|
inline |
Definition at line 74 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::sub_group_mask::count(), sycl::_V1::make_error_code(), sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::Mask, and sycl::_V1::runtime.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_linear_range().
|
inline |
Definition at line 119 of file ballot_group.hpp.
References sycl::_V1::ext::oneapi::sub_group_mask::find_low(), sycl::_V1::make_error_code(), sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::Mask, and sycl::_V1::runtime.
|
friend |
|
friend |
|
staticconstexpr |
Definition at line 44 of file ballot_group.hpp.
|
staticconstexpr |
Definition at line 45 of file ballot_group.hpp.
|
protected |
Definition at line 130 of file ballot_group.hpp.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_id(), sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_local_range(), and sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::leader().
|
protected |
Definition at line 131 of file ballot_group.hpp.
Referenced by sycl::_V1::ext::oneapi::experimental::ballot_group< ParentGroup >::get_group_id().