#include <sycl/ext/oneapi/sub_group_mask.hpp>
|
bool | operator[] (id< 1 > id) const |
|
reference | operator[] (id< 1 > id) |
|
bool | test (id< 1 > id) const |
|
bool | all () const |
|
bool | any () const |
|
bool | none () const |
|
uint32_t | count () const |
|
uint32_t | size () const |
|
id< 1 > | find_low () const |
|
id< 1 > | find_high () const |
|
template<typename Type , typename = std::enable_if_t<std::is_integral_v<Type>>> |
void | insert_bits (Type bits, id< 1 > pos=0) |
|
template<typename Type , size_t Size, typename = std::enable_if_t<std::is_integral_v<Type>>> |
void | insert_bits (const marray< Type, Size > &bits, id< 1 > pos=0) |
|
template<typename Type , typename = std::enable_if_t<std::is_integral_v<Type>>> |
void | extract_bits (Type &bits, id< 1 > pos=0) const |
|
template<typename Type , size_t Size, typename = std::enable_if_t<std::is_integral_v<Type>>> |
void | extract_bits (marray< Type, Size > &bits, id< 1 > pos=0) const |
|
void | set () |
|
void | set (id< 1 > id, bool value=true) |
|
void | reset () |
|
void | reset (id< 1 > id) |
|
void | reset_low () |
|
void | reset_high () |
|
void | flip () |
|
void | flip (id< 1 > id) |
|
bool | operator== (const sub_group_mask &rhs) const |
|
bool | operator!= (const sub_group_mask &rhs) const |
|
sub_group_mask & | operator&= (const sub_group_mask &rhs) |
|
sub_group_mask & | operator|= (const sub_group_mask &rhs) |
|
sub_group_mask & | operator^= (const sub_group_mask &rhs) |
|
sub_group_mask & | operator<<= (size_t pos) |
|
sub_group_mask & | operator>>= (size_t pos) |
|
sub_group_mask | operator~ () const |
|
sub_group_mask | operator<< (size_t pos) const |
|
sub_group_mask | operator>> (size_t pos) const |
|
|
static constexpr size_t | max_bits |
|
static constexpr size_t | word_size = sizeof(uint32_t) * CHAR_BIT |
|
Definition at line 56 of file sub_group_mask.hpp.
◆ BitsType
◆ all()
bool sycl::_V1::ext::oneapi::sub_group_mask::all |
( |
| ) |
const |
|
inline |
◆ any()
bool sycl::_V1::ext::oneapi::sub_group_mask::any |
( |
| ) |
const |
|
inline |
◆ count()
uint32_t sycl::_V1::ext::oneapi::sub_group_mask::count |
( |
| ) |
const |
|
inline |
◆ extract_bits() [1/2]
template<typename Type , size_t Size, typename = std::enable_if_t<std::is_integral_v<Type>>>
void sycl::_V1::ext::oneapi::sub_group_mask::extract_bits |
( |
marray< Type, Size > & |
bits, |
|
|
id< 1 > |
pos = 0 |
|
) |
| const |
|
inline |
◆ extract_bits() [2/2]
template<typename Type , typename = std::enable_if_t<std::is_integral_v<Type>>>
void sycl::_V1::ext::oneapi::sub_group_mask::extract_bits |
( |
Type & |
bits, |
|
|
id< 1 > |
pos = 0 |
|
) |
| const |
|
inline |
◆ find_high()
id<1> sycl::_V1::ext::oneapi::sub_group_mask::find_high |
( |
| ) |
const |
|
inline |
◆ find_low()
id<1> sycl::_V1::ext::oneapi::sub_group_mask::find_low |
( |
| ) |
const |
|
inline |
◆ flip() [1/2]
void sycl::_V1::ext::oneapi::sub_group_mask::flip |
( |
| ) |
|
|
inline |
◆ flip() [2/2]
void sycl::_V1::ext::oneapi::sub_group_mask::flip |
( |
id< 1 > |
id | ) |
|
|
inline |
◆ insert_bits() [1/2]
template<typename Type , size_t Size, typename = std::enable_if_t<std::is_integral_v<Type>>>
void sycl::_V1::ext::oneapi::sub_group_mask::insert_bits |
( |
const marray< Type, Size > & |
bits, |
|
|
id< 1 > |
pos = 0 |
|
) |
| |
|
inline |
◆ insert_bits() [2/2]
template<typename Type , typename = std::enable_if_t<std::is_integral_v<Type>>>
void sycl::_V1::ext::oneapi::sub_group_mask::insert_bits |
( |
Type |
bits, |
|
|
id< 1 > |
pos = 0 |
|
) |
| |
|
inline |
◆ none()
bool sycl::_V1::ext::oneapi::sub_group_mask::none |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool sycl::_V1::ext::oneapi::sub_group_mask::operator!= |
( |
const sub_group_mask & |
rhs | ) |
const |
|
inline |
◆ operator&=()
◆ operator<<()
sub_group_mask sycl::_V1::ext::oneapi::sub_group_mask::operator<< |
( |
size_t |
pos | ) |
const |
|
inline |
◆ operator<<=()
sub_group_mask& sycl::_V1::ext::oneapi::sub_group_mask::operator<<= |
( |
size_t |
pos | ) |
|
|
inline |
◆ operator==()
bool sycl::_V1::ext::oneapi::sub_group_mask::operator== |
( |
const sub_group_mask & |
rhs | ) |
const |
|
inline |
◆ operator>>()
sub_group_mask sycl::_V1::ext::oneapi::sub_group_mask::operator>> |
( |
size_t |
pos | ) |
const |
|
inline |
◆ operator>>=()
sub_group_mask& sycl::_V1::ext::oneapi::sub_group_mask::operator>>= |
( |
size_t |
pos | ) |
|
|
inline |
◆ operator[]() [1/2]
reference sycl::_V1::ext::oneapi::sub_group_mask::operator[] |
( |
id< 1 > |
id | ) |
|
|
inline |
◆ operator[]() [2/2]
bool sycl::_V1::ext::oneapi::sub_group_mask::operator[] |
( |
id< 1 > |
id | ) |
const |
|
inline |
◆ operator^=()
◆ operator|=()
◆ operator~()
sub_group_mask sycl::_V1::ext::oneapi::sub_group_mask::operator~ |
( |
| ) |
const |
|
inline |
◆ reset() [1/2]
void sycl::_V1::ext::oneapi::sub_group_mask::reset |
( |
| ) |
|
|
inline |
◆ reset() [2/2]
void sycl::_V1::ext::oneapi::sub_group_mask::reset |
( |
id< 1 > |
id | ) |
|
|
inline |
◆ reset_high()
void sycl::_V1::ext::oneapi::sub_group_mask::reset_high |
( |
| ) |
|
|
inline |
◆ reset_low()
void sycl::_V1::ext::oneapi::sub_group_mask::reset_low |
( |
| ) |
|
|
inline |
◆ set() [1/2]
void sycl::_V1::ext::oneapi::sub_group_mask::set |
( |
| ) |
|
|
inline |
◆ set() [2/2]
void sycl::_V1::ext::oneapi::sub_group_mask::set |
( |
id< 1 > |
id, |
|
|
bool |
value = true |
|
) |
| |
|
inline |
◆ size()
uint32_t sycl::_V1::ext::oneapi::sub_group_mask::size |
( |
| ) |
const |
|
inline |
◆ test()
bool sycl::_V1::ext::oneapi::sub_group_mask::test |
( |
id< 1 > |
id | ) |
const |
|
inline |
◆ group_ballot
template<typename Group >
std::enable_if_t<std::is_same_v<std::decay_t<Group>, sub_group>, sub_group_mask> group_ballot |
( |
Group |
g, |
|
|
bool |
predicate = true |
|
) |
| |
|
friend |
◆ operator&
◆ operator^
◆ operator|
◆ sycl::detail::Builder
friend class sycl::detail::Builder |
|
friend |
◆ max_bits
constexpr size_t sycl::_V1::ext::oneapi::sub_group_mask::max_bits |
|
staticconstexpr |
◆ word_size
constexpr size_t sycl::_V1::ext::oneapi::sub_group_mask::word_size = sizeof(uint32_t) * CHAR_BIT |
|
staticconstexpr |
The documentation for this struct was generated from the following file: