|
Nektar++
|
Serial/AVX standard-matrix (StdMat) implementation of the per-block mass operator. More...
#include <LibUtilities/SimdLib/tinysimd.hpp>#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>#include <LibUtilities/LinearAlgebra/NekBlas/libXSMMDispatchWrapper.hpp>#include <MultiRegions/ElmtOps/Mass/MassBlockOp.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 |
Serial/AVX standard-matrix (StdMat) implementation of the per-block mass operator.
All elements of a block share the same basis and quadrature, so one dense standard-region matrix serves the whole block; only the element Jacobian, which the matrices do not carry, has to be applied per element. One or two libxsmm GEMMs per element group then apply the matrices. On the AVX execution space each SIMD lane owns one element of a group, so the GEMM's left operand is the lane-interleaved batch of element data; on Serial the SIMD type is a scalar and the group size is one.
This header provides the definition of detail::MassBlockOpImpl for the Serial and AVX execution spaces with the StdMat implementation tag. The sum-factorised Serial/AVX definition lives in MassBlockOpSerialAVXSumFac.hpp and the Device definitions in MassBlockOpDeviceStdMat.hpp and MassBlockOpDeviceSumFac.hpp; the class template name is shared, and each CMake-generated registration translation unit includes exactly one of these headers.
Definition in file MassBlockOpSerialAVXStdMat.hpp.