Loading src/Benchmarks/SpMV/SpmvBenchmarkResult.h +3 −2 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ struct SpmvBenchmarkResult virtual std::vector< int > getColumnWidthHints() const override { return std::vector< int >({ 12, 12, 14, 12, 12, 14, 14 }); return std::vector< int >({ 14, 14, 14, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const override Loading @@ -58,7 +58,8 @@ struct SpmvBenchmarkResult benchmarkResultCopy = benchmarkResult; auto diff = csrResult - benchmarkResultCopy; RowElements elements; elements << time << stddev << stddev/time << bandwidth; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev/time << bandwidth; if( speedup != 0.0 ) elements << speedup; else Loading src/TNL/Benchmarks/Benchmarks.h +3 −2 Original line number Diff line number Diff line Loading @@ -43,13 +43,14 @@ struct BenchmarkResult virtual std::vector< int > getColumnWidthHints() const { return std::vector< int >({ 8, 8, 8, 8, 8 }); return std::vector< int >({ 14, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const { RowElements elements; elements << time << stddev << stddev / time << bandwidth; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev / time << bandwidth; if( speedup != 0 ) elements << speedup; else Loading Loading
src/Benchmarks/SpMV/SpmvBenchmarkResult.h +3 −2 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ struct SpmvBenchmarkResult virtual std::vector< int > getColumnWidthHints() const override { return std::vector< int >({ 12, 12, 14, 12, 12, 14, 14 }); return std::vector< int >({ 14, 14, 14, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const override Loading @@ -58,7 +58,8 @@ struct SpmvBenchmarkResult benchmarkResultCopy = benchmarkResult; auto diff = csrResult - benchmarkResultCopy; RowElements elements; elements << time << stddev << stddev/time << bandwidth; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev/time << bandwidth; if( speedup != 0.0 ) elements << speedup; else Loading
src/TNL/Benchmarks/Benchmarks.h +3 −2 Original line number Diff line number Diff line Loading @@ -43,13 +43,14 @@ struct BenchmarkResult virtual std::vector< int > getColumnWidthHints() const { return std::vector< int >({ 8, 8, 8, 8, 8 }); return std::vector< int >({ 14, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const { RowElements elements; elements << time << stddev << stddev / time << bandwidth; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev / time << bandwidth; if( speedup != 0 ) elements << speedup; else Loading