60#ifndef __ADS_ParallelNumeric
61 #define __ADS_ParallelNumeric
112template< Executor E ,
class T , std::
integral I , std::
integral P >
128template< Executor E ,
class T , std::
integral I , std::
integral P >
132 const std::vector< T > & x );
162template< Executor E , std::
size_t C >
178template< Executor E , std::
size_t C >
179[[nodiscard]] std::vector< double >
181 const std::vector< double > & x );
204template< Executor E ,
class T >
205void gemm( E & ex , std::size_t m , std::size_t n , std::size_t k , T alpha ,
206 const T * A , std::size_t lda ,
const T * B , std::size_t ldb ,
208 T * C , std::size_t ldc );
221template< Executor E ,
class T >
233#include "ADS/parallel/impl/ParallelNumeric.tpp"
The contracts of ADS: the preconditions, the postconditions and the invariants of the operations,...
A sparse matrix in compressed sparse rows (CSR), beyond the book: the nonzeros of each row,...
The dense matrices by rows, beyond the book: DenseMatrix keeps the entries by rows in one contiguous...
The layer of execution of the parallel algorithms of ADS, beyond the book: an executor runs the calls...
A sparse matrix in the format SELL- - of Kreutzer, Hager, Wellein, Fehske and Bishop,...
a sparse matrix of values T in compressed sparse rows, the columns of the type I and the offsets of ...
Definition CsrMatrix.h:129
an matrix by rows in one contiguous vector
Definition DenseMatrix.h:187
a sparse matrix of doubles in SELL- - , chunks of rows (4 by default, the fastest on a Xeon Gold 512...
Definition SellMatrix.h:88
DenseMatrix< T > multiply(const DenseMatrix< T > &A, const DenseMatrix< T > &B)
the product , a new matrix, by gemm() with and
void gemm(std::size_t m, std::size_t n, std::size_t k, T alpha, const T *A, std::size_t lda, const T *B, std::size_t ldb, T beta, T *C, std::size_t ldc)
the product , , and by rows, with the leading dimensions lda, ldb, ldc (the distance of two rows...