![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Array storge for vector data. More...
#include <Vec.hpp>
Public Types | |
| using | BaseType = std::array<T_Type, T_dim> |
| using | type = T_Type |
Public Member Functions | |
| constexpr | ArrayStorage (std::array< T_Type, T_dim > const &data) |
| template<typename... T_Args> | |
| constexpr | ArrayStorage (T_Args &&... args) |
Array storge for vector data.
This class is a workaround and is simply wrapping std::array. It is required because the dim in std::array in the template signature is size_t. This produces template deduction issues for math::Vec if we sue array as default storage without this wrapper.
| using alpaka::ArrayStorage< T_Type, T_dim >::BaseType = std::array<T_Type, T_dim> |
| using alpaka::ArrayStorage< T_Type, T_dim >::type = T_Type |
|
inlineconstexpr |
|
inlineconstexpr |