Commit c0261cdf authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Renamed spmv.h to spmv-legacy.h.

parent 95c028af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 >
@@ -271,5 +272,6 @@ benchmarkSpmvSynthetic( Benchmark& benchmark,
    */
}

} // namespace SpMVLegacy
} // namespace Benchmarks
} // namespace TNL
+9 −9
Original line number Diff line number Diff line
@@ -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;
@@ -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.