Brick Library 0.1
Performance-portable stencil datalayout & codegen
|
Classes | |
struct | _BrickAccessor<... > |
Generic base template for Accessing brick elements using []. More... | |
struct | _BrickAccessor< T, Dim< D >, Dim< F >, bool > |
Last dimension Accessing brick elements using []. More... | |
struct | _BrickAccessor< T, Dim< D, BDims... >, Dim< F, Folds... >, bool > |
When the number of Brick dimensions and Fold dimensions are the same Accessing brick elements using []. More... | |
struct | _BrickAccessor< T, Dim< D, BDims... >, Dim< Folds... >, void > |
When the number of Brick dimensions and Fold dimensions are not the same \(1 + BDims > Folds\) Accessing brick elements using []. More... | |
It can be fully unrolled and offers very little overhead. However, vectorization is tricky without using codegen.
For example, the following code produces types: