Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces
DivergenceBlockOpSerialAVXStdMat.hpp File Reference

Serial/AVX standard-matrix implementation of the block divergence. More...

#include <LibUtilities/SimdLib/tinysimd.hpp>
#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>
#include <LibUtilities/LinearAlgebra/NekBlas/libXSMMDispatchWrapper.hpp>
#include <MultiRegions/ElmtOps/Divergence/DivergenceBlockOp.hpp>
#include <MultiRegions/ElmtOps/PhysDeriv/PhysDerivBlockOpSerialAVXStdMatKernels.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >
 Device StdMat implementation of DivergenceBlockOp: one strided-batched BLAS GEMM forming every reference-direction derivative of every component of the block, followed by one derivative-factor contraction per component accumulating into a single output component. More...
 

Namespaces

namespace  Nektar
 
namespace  Nektar::MultiRegions
 
namespace  Nektar::MultiRegions::detail
 

Detailed Description

Serial/AVX standard-matrix implementation of the block divergence.

Instead of sum-factorised 1D contractions, this variant multiplies each SIMD group of elements by dense standard-region derivative matrices (one nqTot x nqTot matrix per reference direction, with any collapsed-coordinate correction baked in) via libxsmm GEMM calls, then contracts the resulting reference-direction derivatives with the derivative factors. See DivergenceBlockOpSerialAVXSumFac.hpp for the sum-factorised alternative.

This header provides the definition of detail::DivergenceBlockOpImpl for the Serial and AVX execution spaces with the StdMat implementation tag; the class template name is shared with the other implementation headers, and each CMake-generated registration translation unit includes exactly one of them.

Note
CMake includes this header into the registration translation units it generates for this operator, execution space and implementation; it should not normally be included by any other translation unit. Other code goes through DivergenceOp.hpp and the operator factory: including this header directly instantiates the whole template set in that translation unit, which is what the generated sources exist to avoid.

Definition in file DivergenceBlockOpSerialAVXStdMat.hpp.