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

Device standard-matrix implementation of the Divergence block operator: dense standard-region derivative matrices applied through the back-end BLAS. More...

#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>
#include <LibUtilities/LinearAlgebra/NekBlas/NekBlas.hpp>
#include <MultiRegions/ElmtOps/Divergence/DivergenceBlockOp.hpp>
#include <MultiRegions/ElmtOps/Divergence/DivergenceBlockOpDeviceStdMatKernels.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

Device standard-matrix implementation of the Divergence block operator: dense standard-region derivative matrices applied through the back-end BLAS.

Included by the translation unit CMake generates for the "StdMat" implementation on the Device execution space. See DivergenceOp.hpp for what the operator computes. The whole block – every element, plane and vector component – is covered by a single strided-batched GEMM through NekBlas (the vendor BLAS behind it depends on the build), so the matrices are fetched untransposed (ePhysDerivStdMat) and the block data is read as one column-major matrix: the implementation interleave width is one.

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 DivergenceBlockOpDeviceStdMat.hpp.