|
Brick Library 0.1
Performance-portable stencil datalayout & codegen
|
When the number of Brick dimensions and Fold dimensions are not the same \(1 + BDims > Folds\) 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... >, typename std::conditional< sizeof...(BDims)==sizeof...(Folds), bool, void >::type > | 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 not the same \(1 + BDims > Folds\) 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< Folds... >, void >::b |
Reference (center) brick.
| unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< Folds... >, void >::nvec |
Which vector.
| T* _BrickAccessor< T, Dim< D, BDims... >, Dim< Folds... >, void >::par |
parent Brick data structure reference
| unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< Folds... >, void >::pos |
Accumulative position within adjacency list.
| unsigned _BrickAccessor< T, Dim< D, BDims... >, Dim< Folds... >, void >::wvec |
Position within a vector.