FflasFfpack
benchmark-pfspmv.C File Reference
#include <iostream>
#include <vector>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include "fflas-ffpack/config-blas.h"
#include "fflas-ffpack/fflas/fflas.h"
#include "fflas-ffpack/utils/timer.h"
#include "fflas-ffpack/utils/args-parser.h"

Functions

template<typename T >
from_string (std::string const &s)
 
template<class MatT , class Field , class IndexT >
std::pair< double, uint64_t > test_pfspmv (size_t iter, const Field &F, IndexT *row, IndexT *col, typename Field::Element_ptr dat, index_t rowdim, index_t coldim, uint64_t nnz, typename Field::Element_ptr x, typename Field::Element_ptr y, typename Field::Element beta)
 
template<class T1 , class T2 , class T >
void print_res (pair< T1, T2 > &p, size_t iter, T as, int blocksize=1)
 
int main (int argc, char **argv)
 

Function Documentation

◆ from_string()

template<typename T >
T from_string ( std::string const & s)

◆ test_pfspmv()

template<class MatT , class Field , class IndexT >
std::pair< double, uint64_t > test_pfspmv ( size_t iter,
const Field & F,
IndexT * row,
IndexT * col,
typename Field::Element_ptr dat,
index_t rowdim,
index_t coldim,
uint64_t nnz,
typename Field::Element_ptr x,
typename Field::Element_ptr y,
typename Field::Element beta )

◆ print_res()

template<class T1 , class T2 , class T >
void print_res ( pair< T1, T2 > & p,
size_t iter,
T as,
int blocksize = 1 )

◆ main()

int main ( int argc,
char ** argv )