|
Nektar++
|
Device StdMat implementation of the advection block operator. More...
#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>#include <LibUtilities/LinearAlgebra/NekBlas/NekBlas.hpp>#include <MultiRegions/ElmtOps/Advection/AdvectionBlockOp.hpp>#include <MultiRegions/ElmtOps/Advection/AdvectionBlockOpDeviceStdMatKernels.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData > |
| Device StdMat advection block operator: dense standard-region derivative matrices through the vendor BLAS, followed by a pointwise derivative-factor and velocity kernel. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
| namespace | Nektar::MultiRegions::detail |
Device StdMat implementation of the advection block operator.
The Device StdMat path takes two steps: the reference-space derivatives of the input are formed by multiplying with the dense standard-region physical-derivative matrices, one matrix product per reference direction, and a pointwise kernel then applies the geometric derivative factors and the dot product with the advection velocity (see AdvectionBlockOpDeviceStdMatKernels.hpp).
The products are 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 (ePhysDerivStdMat) and the block data is read as one column-major matrix: the implementation interleave width is one. All device work is issued on the block's own stream, so different blocks may overlap.
This header provides the definition of detail::AdvectionBlockOpImpl for the Device execution space with the StdMat implementation tag; the sum-factorised Device definitions live in AdvectionBlockOpDeviceSumFac.hpp. The class template name is shared, and each CMake-generated registration translation unit includes exactly one of these headers.
Definition in file AdvectionBlockOpDeviceStdMat.hpp.