FflasFfpack
benchmark-fspmm.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/fflas/fflas_sparse.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_fspmm (size_t iter, const Field &F, IndexT *row, IndexT *col, typename Field::Element_ptr dat, index_t rowdim, index_t coldim, uint64_t nnz, int blocksize, typename Field::Element_ptr x, int ldx, typename Field::Element beta, typename Field::Element_ptr y, int ldy)
 
template<class T1 , class T2 , class T >
void print_res (pair< T1, T2 > &p, size_t iter, T as, int blocksize)
 
int main (int argc, char **argv)
 

Function Documentation

◆ from_string()

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

◆ test_fspmm()

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

◆ print_res()

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

◆ main()

int main ( int argc,
char ** argv )