Loading src/Benchmarks/SpMV/spmv.h→src/Benchmarks/SpMV/spmv-legacy.h +3 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ using namespace TNL::Matrices; namespace TNL { namespace Benchmarks { namespace SpMVLegacy { // Alias to match the number of template parameters with other formats template< typename Real, typename Device, typename Index > Loading Loading @@ -271,5 +272,6 @@ benchmarkSpmvSynthetic( Benchmark& benchmark, */ } } // namespace SpMVLegacy } // namespace Benchmarks } // namespace TNL src/Benchmarks/SpMV/tnl-benchmark-spmv.h +9 −9 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ #include <Benchmarks/BLAS/array-operations.h> #include <Benchmarks/BLAS/vector-operations.h> #include "spmv.h" #include "spmv-legacy.h" #include <TNL/Matrices/MatrixReader.h> using namespace TNL::Matrices; Loading @@ -44,7 +44,7 @@ runSpMVBenchmarks( Benchmark & benchmark, benchmark.newBenchmark( String("Sparse matrix-vector multiplication (") + precision + ")", metadata ); // Start the actual benchmark in spmv.h benchmarkSpmvSynthetic< Real >( benchmark, inputFileName, verboseMR ); SpMVLegacy::benchmarkSpmvSynthetic< Real >( benchmark, inputFileName, verboseMR ); } // Get current date time to have different log files names and avoid overwriting. Loading Loading
src/Benchmarks/SpMV/spmv.h→src/Benchmarks/SpMV/spmv-legacy.h +3 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ using namespace TNL::Matrices; namespace TNL { namespace Benchmarks { namespace SpMVLegacy { // Alias to match the number of template parameters with other formats template< typename Real, typename Device, typename Index > Loading Loading @@ -271,5 +272,6 @@ benchmarkSpmvSynthetic( Benchmark& benchmark, */ } } // namespace SpMVLegacy } // namespace Benchmarks } // namespace TNL
src/Benchmarks/SpMV/tnl-benchmark-spmv.h +9 −9 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ #include <Benchmarks/BLAS/array-operations.h> #include <Benchmarks/BLAS/vector-operations.h> #include "spmv.h" #include "spmv-legacy.h" #include <TNL/Matrices/MatrixReader.h> using namespace TNL::Matrices; Loading @@ -44,7 +44,7 @@ runSpMVBenchmarks( Benchmark & benchmark, benchmark.newBenchmark( String("Sparse matrix-vector multiplication (") + precision + ")", metadata ); // Start the actual benchmark in spmv.h benchmarkSpmvSynthetic< Real >( benchmark, inputFileName, verboseMR ); SpMVLegacy::benchmarkSpmvSynthetic< Real >( benchmark, inputFileName, verboseMR ); } // Get current date time to have different log files names and avoid overwriting. Loading