|
Nektar++
|
Device standard-matrix (StdMat) implementation of the per-block linearised advection-diffusion-reaction operator: strided-batched BLAS GEMMs around one pointwise device kernel. More...
#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>#include <LibUtilities/LinearAlgebra/NekBlas/NekBlas.hpp>#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionBlockOp.hpp>#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionBlockOpDeviceStdMatKernels.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData > |
| Device StdMat block implementation of the linearised advection-diffusion-reaction operator: dense standard-region matrices through the vendor BLAS, around a pointwise metric kernel. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
| namespace | Nektar::MultiRegions::detail |
Device standard-matrix (StdMat) implementation of the per-block linearised advection-diffusion-reaction operator: strided-batched BLAS GEMMs around one pointwise device kernel.
The operator is a backward transform, reference derivatives, a metric kernel, then the two inner products. Each matrix stage is issued as a single strided-batched GEMM through NekBlas – the vendor BLAS behind it depends on the build – covering every element, component and homogeneous mode of the block at once, so the matrices are fetched untransposed (eBwdTransStdMat and its siblings) and the block data is read as column-major matrices instead of lane-interleaved: the implementation interleave width is one. The metric kernel is a device kernel launched once over all quadrature points of the block (ApplyMetricKernel, in LinAdvDiffReactionBlockOpDeviceStdMatKernels.hpp), and all device work is issued on the block's own stream, so different blocks may overlap.
This header provides the definition of detail::LinAdvDiffReactionBlockOpImpl for the Device execution space with the StdMat implementation tag; the sum-factorised Device definitions live in LinAdvDiffReactionBlockOpDeviceSumFac.hpp. The class template name is shared, and each CMake-generated registration translation unit includes exactly one of these headers.
Definition in file LinAdvDiffReactionBlockOpDeviceStdMat.hpp.