Loading...
Searching...
No Matches
gpr::linalg::DistributedKernelProvider Class Referenceabstract

#include <gpr/linalg/BackendInterface.h>

Public Member Functions

virtual ~DistributedKernelProvider ()=default
virtual ProviderTraits traits () const noexcept=0
virtual ThreadBudget threadBudget (int cpu_share) const noexcept=0
 Threads this provider spends on one rank, within cpu_share.
virtual bool potrf_lower (TileView a, int n)=0
 Cholesky factor of the order-n lower triangle, in place.
virtual bool potri_lower (TileView a, int n)=0
virtual bool trsm_left_lower (ConstTileView l, int n, TileView b, int nrhs, bool transpose)=0
 Solve L X = B (or L^T X = B when transpose) in place on b.
virtual bool heev_lower (TileView a, int n, TileView z, std::vector< double > &eigenvalues)=0
virtual bool rank_block_cholesky_append_lower (TileView a, int n, int cached_n)=0
virtual bool gram_lower (TileView b, int rows, int columns, TileView product)=0
 Lower triangle of B^T B for the rows x columns block b.

Detailed Description

Distributed kernel provider (layer 3). Every operation is collective over the provider's process group: all ranks call it, in the same order, with descriptors of the same layout. Operands are local blocks of a block-cyclic matrix described by desc (ScaLAPACK descriptor layout); the layout and collectives of layer 2 own the descriptor and the group.

Each operation returns false on a numerical rejection that all ranks observe (for example a non-positive pivot); device and runtime failures throw. The lower triangle is the stored triangle.

Definition at line 316 of file BackendInterface.h.

Constructor & Destructor Documentation

◆ ~DistributedKernelProvider()

virtual gpr::linalg::DistributedKernelProvider::~DistributedKernelProvider ( )
virtualdefault

Member Function Documentation

◆ gram_lower()

virtual bool gpr::linalg::DistributedKernelProvider::gram_lower ( TileView b,
int rows,
int columns,
TileView product )
pure virtual

Lower triangle of B^T B for the rows x columns block b.

◆ heev_lower()

virtual bool gpr::linalg::DistributedKernelProvider::heev_lower ( TileView a,
int n,
TileView z,
std::vector< double > & eigenvalues )
pure virtual

Eigenvalues (ascending) and eigenvectors z of the symmetric matrix whose lower triangle is a.

◆ potrf_lower()

virtual bool gpr::linalg::DistributedKernelProvider::potrf_lower ( TileView a,
int n )
pure virtual

Cholesky factor of the order-n lower triangle, in place.

◆ potri_lower()

virtual bool gpr::linalg::DistributedKernelProvider::potri_lower ( TileView a,
int n )
pure virtual

Inverse of the matrix whose lower Cholesky factor a holds, in place.

◆ rank_block_cholesky_append_lower()

virtual bool gpr::linalg::DistributedKernelProvider::rank_block_cholesky_append_lower ( TileView a,
int n,
int cached_n )
pure virtual

Extend the cached factor of order cached_n to order n with the rows appended to a.

◆ threadBudget()

virtual ThreadBudget gpr::linalg::DistributedKernelProvider::threadBudget ( int cpu_share) const
nodiscardpure virtualnoexcept

Threads this provider spends on one rank, within cpu_share.

◆ traits()

virtual ProviderTraits gpr::linalg::DistributedKernelProvider::traits ( ) const
nodiscardpure virtualnoexcept

◆ trsm_left_lower()

virtual bool gpr::linalg::DistributedKernelProvider::trsm_left_lower ( ConstTileView l,
int n,
TileView b,
int nrhs,
bool transpose )
pure virtual

Solve L X = B (or L^T X = B when transpose) in place on b.


The documentation for this class was generated from the following file: