linbox
omp-benchmark.C File Reference

f More...

#include "linbox/linbox-config.h"
#include <stdlib.h>
#include <fstream>
#include <time.h>
#include <omp.h>
#include "benchmarks/CSValue.h"
#include "benchmarks/BenchmarkFile.h"
#include "linbox/matrix/sparse-matrix.h"
#include "linbox/vector/blas-vector.h"
#include "linbox/matrix/dense-matrix.h"
#include "linbox/util/timer.h"
#include "linbox/ring/modular.h"
#include "linbox/matrix/sparsematrix/sparse-tpl-matrix-omp.h"
#include "linbox/blackbox/transpose.h"
#include "linbox/vector/vector-domain.h"
#include "examples/map-sparse.h"
#include "linbox/algorithms/blackbox-block-container.h"
#include "linbox/algorithms/block-massey-domain.h"

Typedefs

typedef Givaro::Modular< double > Field
 
typedef TriplesBBOMP< FieldOMPBB
 
typedef TriplesBB< FieldSeqBB
 
typedef SparseMatrix< Field, SparseMatrixFormat::VPV > VPVBB
 

Functions

int randRange (int start, int end)
 
template<class Blackbox>
void runBlockWiedemann (BenchmarkFile &of, typename Blackbox::Field F, MapSparse< typename Blackbox::Field > matA, MapSparse< typename Blackbox::Field > matU, MapSparse< typename Blackbox::Field > matV, int iters)
 
template<class Blackbox>
void runMMP (BenchmarkFile &of, typename Blackbox::Field F, MapSparse< typename Blackbox::Field > leftMat, MapSparse< typename Blackbox::Field > rightMat, int iters)
 
template<class Blackbox>
void runMVP (BenchmarkFile &of, typename Blackbox::Field F, MapSparse< typename Blackbox::Field > mat, MapSparse< typename Blackbox::Field > vec, int iters)
 
void blockWiedemannBenchmark (BenchmarkFile &benchmarkFile, int n, int m, int nnz, int iters, int q)
 
void MMPBenchmark (BenchmarkFile &benchmarkFile, int n, int m, int nnz, int iters, int q)
 
void MVPBenchmark (BenchmarkFile &benchmarkFile, int n, int nnz, int iters, int q)
 
int main (int argc, char **argv)
 

Detailed Description

f

Typedef Documentation

◆ Field

typedef Givaro::Modular<double> Field

◆ OMPBB

typedef TriplesBBOMP<Field> OMPBB

◆ SeqBB

typedef TriplesBB<Field> SeqBB

◆ VPVBB

typedef SparseMatrix<Field,SparseMatrixFormat::VPV> VPVBB

Function Documentation

◆ randRange()

int randRange ( int start,
int end )

◆ runBlockWiedemann()

template<class Blackbox>
void runBlockWiedemann ( BenchmarkFile & of,
typename Blackbox::Field F,
MapSparse< typename Blackbox::Field > matA,
MapSparse< typename Blackbox::Field > matU,
MapSparse< typename Blackbox::Field > matV,
int iters )

◆ runMMP()

template<class Blackbox>
void runMMP ( BenchmarkFile & of,
typename Blackbox::Field F,
MapSparse< typename Blackbox::Field > leftMat,
MapSparse< typename Blackbox::Field > rightMat,
int iters )

◆ runMVP()

template<class Blackbox>
void runMVP ( BenchmarkFile & of,
typename Blackbox::Field F,
MapSparse< typename Blackbox::Field > mat,
MapSparse< typename Blackbox::Field > vec,
int iters )

◆ blockWiedemannBenchmark()

void blockWiedemannBenchmark ( BenchmarkFile & benchmarkFile,
int n,
int m,
int nnz,
int iters,
int q )

◆ MMPBenchmark()

void MMPBenchmark ( BenchmarkFile & benchmarkFile,
int n,
int m,
int nnz,
int iters,
int q )

◆ MVPBenchmark()

void MVPBenchmark ( BenchmarkFile & benchmarkFile,
int n,
int nnz,
int iters,
int q )

◆ main()

int main ( int argc,
char ** argv )