SpikeGPU
1.0.0
|
Default SPMV functor class. More...
#include <spmv.h>
Public Member Functions | |
SpmvCusp (Matrix &A) | |
double | getTime () const |
Cummulative time for all SPMV calls (ms). More... | |
double | getCount () const |
Total number of calls to the SPMV functor. More... | |
double | getGFlops () const |
Average GFLOP/s over all SPMV calls. More... | |
template<typename Array > | |
void | operator() (const Array &v, Array &Av) |
Implementation of the SPMV functor using cusp::multiply(). More... | |
Default SPMV functor class.
This class implements the default SPMV functor for sparse matrix-vector product, using the cusp::multiply algorithm.
Matrix | is the type of the sparse matrix. |
|
inline |
|
inline |
Total number of calls to the SPMV functor.
|
inline |
Average GFLOP/s over all SPMV calls.
|
inline |
Cummulative time for all SPMV calls (ms).
|
inline |
Implementation of the SPMV functor using cusp::multiply().