Brick data structure.
More...
#include <brick.h>
template<unsigned ... BDims, unsigned ... Folds>
struct Brick< Dim< BDims... >, Dim< Folds... > >
Brick data structure.
- Template Parameters
-
BDims | The brick dimensions |
Folds | The fold dimensions |
Some example usage:
BrickStorage bStorage
Definition: brick.h:366
myBrickInfo * bInfo
Pointer to (possibly shared) metadata.
Definition: brick.h:363
Generic base template, see Brick< Dim< BDims... >, Dim< Folds... > >
Definition: brick.h:340
Empty template to specify an n-D list.
Definition: brick.h:131
◆ myBrickInfo [1/2]
template<unsigned ... BDims, unsigned ... Folds>
Shorthand for type of the metadata.
◆ myBrickInfo [2/2]
template<unsigned ... BDims, unsigned ... Folds>
◆ mytype
template<unsigned ... BDims, unsigned ... Folds>
Shorthand for this struct's type.
◆ Brick()
template<unsigned ... BDims, unsigned ... Folds>
Initialize a brick data structure.
- Parameters
-
bInfo | Pointer to metadata |
bStorage | Brick storage (memory region) |
offset | Offset within the brick storage in number of elements, eg. is a multiple of 512 for 8x8x8 bricks |
◆ neighbor()
template<unsigned ... BDims, unsigned ... Folds>
template<unsigned ... Offsets>
Return the adjacency list of brick b
◆ operator[]()
template<unsigned ... BDims, unsigned ... Folds>
◆ bInfo
template<unsigned ... BDims, unsigned ... Folds>
Pointer to (possibly shared) metadata.
◆ BRICKSIZE
template<unsigned ... BDims, unsigned ... Folds>
constexpr unsigned Brick< Dim< BDims... >, Dim< Folds... > >::BRICKSIZE = cal_size<BDims...>::value |
|
staticconstexpr |
◆ bStorage
template<unsigned ... BDims, unsigned ... Folds>
◆ dat
template<unsigned ... BDims, unsigned ... Folds>
◆ step [1/2]
template<unsigned ... BDims, unsigned ... Folds>
◆ step [2/2]
template<unsigned ... BDims, unsigned ... Folds>
unsigned Brick< Dim< BDims... >, Dim< Folds... > >::step |
◆ VECLEN
template<unsigned ... BDims, unsigned ... Folds>
constexpr unsigned Brick< Dim< BDims... >, Dim< Folds... > >::VECLEN = cal_size<Folds...>::value |
|
staticconstexpr |
The documentation for this struct was generated from the following files: