Brick Library 0.1
Performance-portable stencil datalayout & codegen
|
When the number of Brick dimensions and Fold dimensions are the same Accessing brick elements using []. More...
#include <brick.h>
Public Member Functions | |
FORCUDA | _BrickAccessor (T *par, unsigned b, unsigned pos, unsigned nvec, unsigned wvec) |
FORCUDA _BrickAccessor< T, Dim< BDims... >, Dim< Folds... >, bool > | operator[] (unsigned i) |
Public Attributes | |
T * | par |
parent Brick data structure reference | |
unsigned | b |
Reference (center) brick. | |
unsigned | pos |
Accumulative position within adjacency list. | |
unsigned | nvec |
Which vector. | |
unsigned | wvec |
Position within a vector. | |
When the number of Brick dimensions and Fold dimensions are the same Accessing brick elements using [].
T | Element type |
D | CAR of brick dimension |
BDims | CDR of brick dimension |
F | CAR of vector folds |
Folds | CDR of vector folds |
|
inline |
|
inline |
unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool >::b |
Reference (center) brick.
unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool >::nvec |
Which vector.
T* _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool >::par |
parent Brick data structure reference
unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool >::pos |
Accumulative position within adjacency list.
unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool >::wvec |
Position within a vector.