Skip to content
Snippets Groups Projects
Commit 5eb09d2d authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

SpMV benchmark is printing full matrix types.

parent 2e1ddabe
No related branches found
No related tags found
1 merge request!48Segments
......@@ -159,7 +159,7 @@ benchmarkSpMV( Benchmark& benchmark,
{ "non-zeros", convertToString( hostMatrix.getNumberOfNonzeroMatrixElements() ) },
{ "rows", convertToString( hostMatrix.getRows() ) },
{ "columns", convertToString( hostMatrix.getColumns() ) },
{ "matrix format", convertToString( getMatrixFormat( hostMatrix ) ) }
{ "matrix format", convertToString( getType( hostMatrix ) ) }
} ));
hostVector.setSize( hostMatrix.getColumns() );
......@@ -287,22 +287,18 @@ benchmarkSpmvSynthetic( Benchmark& benchmark,
{
benchmarkSpMV< Real, Matrices::CSR >( benchmark, inputFileName, verboseMR );
benchmarkSpMV< Real, Matrices::Ellpack >( benchmark, inputFileName, verboseMR );
benchmarkSpMV< Real, SlicedEllpackAlias >( benchmark, inputFileName, verboseMR );
benchmarkSpMV< Real, Matrices::ChunkedEllpack >( benchmark, inputFileName, verboseMR );
//benchmarkSpMV< Real, SlicedEllpackAlias >( benchmark, inputFileName, verboseMR );
//benchmarkSpMV< Real, Matrices::ChunkedEllpack >( benchmark, inputFileName, verboseMR );
////
// Segments based sparse matrices
std::cerr << "*********************************" << std::endl;
benchmarkSpMV< Real, SparseMatrix_CSR >( benchmark, inputFileName, verboseMR );
std::cerr << "*********************************" << std::endl;
benchmarkSpMV< Real, SparseMatrix_Ellpack >( benchmark, inputFileName, verboseMR );
std::cerr << "*********************************" << std::endl;
benchmarkSpMV< Real, SparseMatrix_SlicedEllpack >( benchmark, inputFileName, verboseMR );
std::cerr << "*********************************" << std::endl;
//benchmarkSpMV< Real, SparseMatrix_SlicedEllpack >( benchmark, inputFileName, verboseMR );
// AdEllpack is broken
// benchmarkSpMV< Real, Matrices::AdEllpack >( benchmark, inputFileName, verboseMR );
benchmarkSpMV< Real, Matrices::BiEllpack >( benchmark, inputFileName, verboseMR );
//benchmarkSpMV< Real, Matrices::BiEllpack >( benchmark, inputFileName, verboseMR );
}
} // namespace Benchmarks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment