LAMA
lama::COOUtilsInterface::Mult< ValueType > Struct Template Reference

#include <LAMAInterface.hpp>

Public Types

typedef void(* normalGEMV )(ValueType result[], const ValueType alpha, const ValueType x[], const ValueType beta, const ValueType y[], const IndexType numRows, const IndexType cooIA[], const IndexType cooJA[], const ValueType cooValues[], const IndexType numValues, class SyncToken *syncToken)
 result = alpha * CSR-Matrix * x + b * y.

template<typename ValueType>
struct lama::COOUtilsInterface::Mult< ValueType >


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::COOUtilsInterface::Mult< ValueType >::normalGEMV)(ValueType result[], const ValueType alpha, const ValueType x[], const ValueType beta, const ValueType y[], const IndexType numRows, const IndexType cooIA[], const IndexType cooJA[], const ValueType cooValues[], const IndexType numValues, class SyncToken *syncToken)

result = alpha * CSR-Matrix * x + b * y.

Parameters:
resultis the result vector
alphais scaling factor for matrix x vector
xis input vector for matrix multiplication
betais scaling factor for additional vector
yis additional input vector to add
numRowsis number of elements for all vectors and rows of matrix
cooIA,cooJA,cooValuesare arrays of COO storage
numValuesis the size of the coo arrays
syncTokenoptional, if available starts asynchronous computation

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