![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <SmartMaskValueRef.hpp>
Public Types | |
| using | value_type = T |
| using | ValueMaskType = T_ValueMask |
Public Member Functions | |
| constexpr | SmartMaskValueRef (ValueMaskType &ref) noexcept |
| constexpr | operator bool () const noexcept |
| constexpr bool | operator! () const noexcept |
| constexpr bool | operator!= (SmartMaskValueRef const &rhs) const noexcept |
| constexpr ValueMaskType | operator& (SmartMaskValueRef const &rhs) const noexcept |
| constexpr SmartMaskValueRef & | operator&= (bool b) noexcept |
| constexpr SmartMaskValueRef & | operator&= (ValueMaskType v) noexcept |
| constexpr SmartMaskValueRef & | operator= (bool b) noexcept |
| constexpr SmartMaskValueRef & | operator= (ValueMaskType v) noexcept |
| constexpr bool | operator== (SmartMaskValueRef const &rhs) const noexcept |
| constexpr ValueMaskType | operator^ (SmartMaskValueRef const &rhs) const noexcept |
| constexpr SmartMaskValueRef & | operator^= (bool b) noexcept |
| constexpr SmartMaskValueRef & | operator^= (ValueMaskType v) noexcept |
| constexpr ValueMaskType | operator| (SmartMaskValueRef const &rhs) const noexcept |
| constexpr SmartMaskValueRef & | operator|= (bool b) noexcept |
| constexpr SmartMaskValueRef & | operator|= (ValueMaskType v) noexcept |
| constexpr ValueMaskType | operator~ () const noexcept |
| constexpr ValueMaskType | value () const noexcept |
Private Attributes | |
| ValueMaskType & | valueRef |
Simd mask reference.
A SIMD mask is not required to store its values as bool, it can store the values as a representable value type where all bits are 1 for true and zero for false. To be able to assign values to a SIMD mask we can not return a reference to the stored value because we need to cast the value during the write. For the read we need to cast the value to bool.
Definition at line 22 of file SmartMaskValueRef.hpp.
| using alpaka::internal::SmartMaskValueRef< T, T_ValueMask >::value_type = T |
Definition at line 24 of file SmartMaskValueRef.hpp.
| using alpaka::internal::SmartMaskValueRef< T, T_ValueMask >::ValueMaskType = T_ValueMask |
Definition at line 25 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 27 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 32 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 51 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 89 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 70 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 115 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 115 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 117 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 117 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 84 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 75 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 116 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 116 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 65 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 114 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 114 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 56 of file SmartMaskValueRef.hpp.
|
inlineconstexprnoexcept |
Definition at line 45 of file SmartMaskValueRef.hpp.
|
private |
Definition at line 122 of file SmartMaskValueRef.hpp.