A concrete implementation of the DataLayout class for compile time checked multidimensional arrays. More...
#include <Phalanx_DataLayout_MDALayout.hpp>
Public Member Functions | |
template<typename... Extents> | |
MDALayout (Extents...extents) | |
template<typename... Extents> | |
MDALayout (const std::string &prefix, Extents...extents) | |
template<typename... Extents> | |
MDALayout (const char *prefix, Extents...extents) | |
virtual bool | operator== (const DataLayout &right) const override |
virtual PHX::Device::size_type | rank () const override |
virtual PHX::Device::size_type | dimension (size_type ordinal) const override |
virtual PHX::Device::size_type | extent (size_type ordinal) const override |
virtual int | extent_int (size_type ordinal) const override |
virtual void | dimensions (std::vector< PHX::Device::size_type > &dim) const override |
virtual std::string | name (size_type ordinal) const override |
virtual void | names (std::vector< std::string > &names) const override |
virtual PHX::Device::size_type | size () const override |
virtual PHX::DataLayout::KokkosLayoutType | kokkosLayout () const override |
virtual std::string | identifier () const override |
Unique name identifier that can be used for strict weak ordering in stl std::map keys. | |
virtual void | print (std::ostream &os, int offset) const override |
Public Member Functions inherited from PHX::DataLayout | |
virtual bool | operator!= (const DataLayout &left) const |
template<typename... extent_pack> | |
void | setExtents (extent_pack...extents) |
Static Public Attributes | |
static constexpr int | Rank = PHX::PackSize<Tags...>::value |
Protected Member Functions | |
virtual void | setExtentsOnDerivedClass (const std::vector< PHX::Device::size_type > &extents) override |
Additional Inherited Members | |
Public Types inherited from PHX::DataLayout | |
enum | KokkosLayoutType { Left, Right, Default } |
Defines the kokkos layout to use. Default uses the recommended layout from the default device execution space. | |
typedef PHX::Device::size_type | size_type |
A concrete implementation of the DataLayout class for compile time checked multidimensional arrays.