VecCore 0.8.1
C++ Library for Portable SIMD Vectorization
|
#include <ScalarWrapper.h>
Public Types | |
using | Type = T |
using | Mask = WrappedBool |
Public Member Functions | |
VECCORE_ATT_HOST_DEVICE | WrappedScalar () |
VECCORE_ATT_HOST_DEVICE | WrappedScalar (const T &val) |
VECCORE_ATT_HOST_DEVICE | WrappedScalar (const T *const val_ptr) |
VECCORE_ATT_HOST_DEVICE | WrappedScalar (const WrappedScalar *const s) |
template<typename Type , class = typename std::enable_if<std::is_integral<Type>::value>::type> | |
VECCORE_ATT_HOST_DEVICE | WrappedScalar (const Type &val) |
VECCORE_ATT_HOST_DEVICE | operator T& () noexcept |
VECCORE_ATT_HOST_DEVICE | operator T const & () const noexcept |
VECCORE_ATT_HOST_DEVICE MaskedScalar< T > | operator() (Mask m) |
VECCORE_ATT_HOST_DEVICE T & | operator[] (int index) |
VECCORE_ATT_HOST_DEVICE T const | operator[] (int index) const |
VECCORE_ATT_HOST_DEVICE void | load (T const *const src) |
VECCORE_ATT_HOST_DEVICE void | store (T &dest) const |
VECCORE_ATT_HOST_DEVICE void | store (T *dest) const |
Static Public Member Functions | |
static VECCORE_ATT_HOST_DEVICE constexpr size_t | size () |
Static Public Attributes | |
static constexpr size_t | Size = 1 |
Definition at line 140 of file ScalarWrapper.h.
using vecCore::WrappedScalar< T >::Mask = WrappedBool |
Definition at line 143 of file ScalarWrapper.h.
using vecCore::WrappedScalar< T >::Type = T |
Definition at line 142 of file ScalarWrapper.h.
|
inline |
Definition at line 148 of file ScalarWrapper.h.
|
inline |
Definition at line 151 of file ScalarWrapper.h.
|
inline |
Definition at line 154 of file ScalarWrapper.h.
|
inline |
Definition at line 157 of file ScalarWrapper.h.
|
inline |
Definition at line 162 of file ScalarWrapper.h.
|
inline |
Definition at line 195 of file ScalarWrapper.h.
|
inlinenoexcept |
Definition at line 173 of file ScalarWrapper.h.
|
inlinenoexcept |
Definition at line 170 of file ScalarWrapper.h.
|
inline |
Definition at line 176 of file ScalarWrapper.h.
|
inline |
Definition at line 179 of file ScalarWrapper.h.
|
inline |
Definition at line 187 of file ScalarWrapper.h.
|
inlinestaticconstexpr |
Definition at line 167 of file ScalarWrapper.h.
|
inline |
Definition at line 198 of file ScalarWrapper.h.
|
inline |
Definition at line 201 of file ScalarWrapper.h.
|
staticconstexpr |
Definition at line 145 of file ScalarWrapper.h.