![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Simd array storge for vector data. More...
#include <EmuSimd.hpp>
Public Types | |
| using | BaseType = std::array<T_Type, T_width> |
| using | reference = typename BaseType::reference |
| using | value_type = typename BaseType::value_type |
Public Member Functions | |
| constexpr | EmuSimd ()=default |
| constexpr | EmuSimd (BaseType const &base) |
| constexpr | EmuSimd (EmuSimd &&)=default |
| constexpr | EmuSimd (EmuSimd const &other) |
| template<typename F> | |
| constexpr | EmuSimd (F &&generator) |
| template<typename... T_Args> | |
| constexpr | EmuSimd (T_Args &&... args) |
| constexpr void | copyFrom (T_Type const *data, alpaka::concepts::Alignment auto alignment) |
| constexpr void | copyTo (auto *data, alpaka::concepts::Alignment auto alignment) const |
| constexpr EmuSimd & | operator*= (EmuSimd const &rhs) |
| constexpr EmuSimd & | operator*= (T_Type const value) |
| constexpr EmuSimd & | operator+= (EmuSimd const &rhs) |
| constexpr EmuSimd & | operator+= (T_Type const value) |
| constexpr EmuSimd & | operator-= (EmuSimd const &rhs) |
| constexpr EmuSimd & | operator-= (T_Type const value) |
| constexpr EmuSimd & | operator/= (EmuSimd const &rhs) |
| constexpr EmuSimd & | operator/= (T_Type const value) |
| constexpr EmuSimd & | operator= (EmuSimd &&rhs)=default |
| constexpr EmuSimd & | operator= (EmuSimd const &rhs)=default |
| constexpr EmuSimd & | operator= (T_Type const value) |
| constexpr void | update (alpaka::concepts::SimdMask auto const &mask, alpaka::concepts::Simd auto const &t) |
| element wise conditional value update where t is a scalar | |
| constexpr void | update (alpaka::concepts::SimdMask auto const &mask, T_Type const &t) |
| element wise conditional value update where t is a scalar | |
| constexpr auto & | asNativeType () |
| static cast the instance to the parent class | |
| constexpr auto const & | asNativeType () const |
| static cast the instance to the parent class | |
Static Public Member Functions | |
| static constexpr auto | fill (T_Type value) |
Private Member Functions | |
| template<typename F, uint32_t... Is> | |
| constexpr | EmuSimd (F &&generator, std::integer_sequence< uint32_t, Is... >) |
Friends | |
| template<alpaka::concepts::SimdMask Mask, alpaka::concepts::Simd T_Simd> | |
| struct | SimdWhereExpr |
Simd array storge for vector data.
The storage is aligned for native simd usage.
Definition at line 36 of file EmuSimd.hpp.
| using alpaka::internal::EmuSimd< T_Type, T_width >::BaseType = std::array<T_Type, T_width> |
Definition at line 39 of file EmuSimd.hpp.
| using alpaka::internal::EmuSimd< T_Type, T_width >::reference = typename BaseType::reference |
Definition at line 42 of file EmuSimd.hpp.
| using alpaka::internal::EmuSimd< T_Type, T_width >::value_type = typename BaseType::value_type |
Definition at line 41 of file EmuSimd.hpp.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 48 of file EmuSimd.hpp.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 72 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 76 of file EmuSimd.hpp.
|
inlineexplicitconstexpr |
Definition at line 104 of file EmuSimd.hpp.
|
inlineexplicitconstexprprivate |
Definition at line 199 of file EmuSimd.hpp.
|
inlineconstexpr |
static cast the instance to the parent class
This method is mostly used to get access to native arithmetic and comparison operators.
Definition at line 85 of file EmuSimd.hpp.
|
inlineconstexpr |
static cast the instance to the parent class
This method is mostly used to get access to native arithmetic and comparison operators.
Definition at line 90 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 109 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 120 of file EmuSimd.hpp.
|
inlinestaticconstexpr |
Definition at line 97 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 193 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 193 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 190 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 190 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 191 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 191 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 192 of file EmuSimd.hpp.
|
inlineconstexpr |
Definition at line 192 of file EmuSimd.hpp.
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
Definition at line 60 of file EmuSimd.hpp.
|
inlineconstexpr |
element wise conditional value update where t is a scalar
Definition at line 135 of file EmuSimd.hpp.
|
inlineconstexpr |
element wise conditional value update where t is a scalar
Definition at line 153 of file EmuSimd.hpp.
|
friend |
Definition at line 132 of file EmuSimd.hpp.