|
Nektar++
|
Device sum-factorised implementation of the per-block mass operator, serving both the SumFac and the SumFacTOP strategy. More...
#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>#include <MultiRegions/ElmtOps/Mass/MassBlockOp.hpp>#include <MultiRegions/ElmtOps/Mass/MassBlockOpDeviceSumFacKernels.hpp>#include <MultiRegions/ElmtOps/Mass/MassBlockOpDeviceSumFacTOPKernels.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData > |
| Device StdMat mass operator: the whole block's operation as one or two strided-batched dense matrix products on the back-end BLAS, with the Jacobian applied by a device kernel between or after them. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
| namespace | Nektar::MultiRegions::detail |
Macros | |
| #define | NEKTAR_BLOCKOP_SWITCH_CODE |
Device sum-factorised implementation of the per-block mass operator, serving both the SumFac and the SumFacTOP strategy.
The backward transform and the inner product with the basis are applied one coordinate direction at a time through the one-dimensional basis tables, back to back, both inside a single fused kernel launch per block.
This one header is included by the translation units CMake generates for either sum-factorisation strategy on the Device execution space; the Implementation tag selects between the two kernel families at compile time, when the enable_if-constrained kernel launchers and the workspace and shared-memory size helpers resolve:
The two strategies want different storage layouts; see the class description. v_Apply() dispatches on the block's shape type to the ShapeBlock() specialisations, which CMake generates from LibUtilities/BasicUtils/Switch/BlockOpShapeBlock.cpp.in.
Definition in file MassBlockOpDeviceSumFac.hpp.
| #define NEKTAR_BLOCKOP_SWITCH_CODE |
Definition at line 87 of file MassBlockOpDeviceSumFac.hpp.