Loading src/Benchmarks/SpMV/SpmvBenchmarkResult.h +3 −3 Original line number Diff line number Diff line Loading @@ -44,12 +44,12 @@ struct SpmvBenchmarkResult virtual HeaderElements getTableHeader() const override { return HeaderElements({ "time", "stddev", "stddev/time", "bandwidth", "speedup", "CSR Diff.Max", "CSR Diff.L2" }); return HeaderElements({ "time", "stddev", "stddev/time", "loops", "bandwidth", "speedup", "CSR Diff.Max", "CSR Diff.L2" }); } virtual std::vector< int > getColumnWidthHints() const override { return std::vector< int >({ 14, 14, 14, 14, 14, 14, 14 }); return std::vector< int >({ 14, 14, 14, 6, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const override Loading @@ -59,7 +59,7 @@ struct SpmvBenchmarkResult auto diff = csrResult - benchmarkResultCopy; RowElements elements; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev/time << bandwidth; elements << std::scientific << time << stddev << stddev/time << loops << bandwidth; if( speedup != 0.0 ) elements << speedup; else Loading src/TNL/Benchmarks/Benchmarks.h +3 −3 Original line number Diff line number Diff line Loading @@ -38,19 +38,19 @@ struct BenchmarkResult virtual HeaderElements getTableHeader() const { return HeaderElements({ "time", "stddev", "stddev/time", "bandwidth", "speedup" }); return HeaderElements({ "time", "stddev", "stddev/time", "loops", "bandwidth", "speedup" }); } virtual std::vector< int > getColumnWidthHints() const { return std::vector< int >({ 14, 14, 14, 14, 14 }); return std::vector< int >({ 14, 14, 14, 6, 14, 14 }); } virtual RowElements getRowElements() const { RowElements elements; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev / time << bandwidth; elements << std::scientific << time << stddev << stddev / time << loops << bandwidth; if( speedup != 0 ) elements << speedup; else Loading Loading
src/Benchmarks/SpMV/SpmvBenchmarkResult.h +3 −3 Original line number Diff line number Diff line Loading @@ -44,12 +44,12 @@ struct SpmvBenchmarkResult virtual HeaderElements getTableHeader() const override { return HeaderElements({ "time", "stddev", "stddev/time", "bandwidth", "speedup", "CSR Diff.Max", "CSR Diff.L2" }); return HeaderElements({ "time", "stddev", "stddev/time", "loops", "bandwidth", "speedup", "CSR Diff.Max", "CSR Diff.L2" }); } virtual std::vector< int > getColumnWidthHints() const override { return std::vector< int >({ 14, 14, 14, 14, 14, 14, 14 }); return std::vector< int >({ 14, 14, 14, 6, 14, 14, 14, 14 }); } virtual RowElements getRowElements() const override Loading @@ -59,7 +59,7 @@ struct SpmvBenchmarkResult auto diff = csrResult - benchmarkResultCopy; RowElements elements; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev/time << bandwidth; elements << std::scientific << time << stddev << stddev/time << loops << bandwidth; if( speedup != 0.0 ) elements << speedup; else Loading
src/TNL/Benchmarks/Benchmarks.h +3 −3 Original line number Diff line number Diff line Loading @@ -38,19 +38,19 @@ struct BenchmarkResult virtual HeaderElements getTableHeader() const { return HeaderElements({ "time", "stddev", "stddev/time", "bandwidth", "speedup" }); return HeaderElements({ "time", "stddev", "stddev/time", "loops", "bandwidth", "speedup" }); } virtual std::vector< int > getColumnWidthHints() const { return std::vector< int >({ 14, 14, 14, 14, 14 }); return std::vector< int >({ 14, 14, 14, 6, 14, 14 }); } virtual RowElements getRowElements() const { RowElements elements; // write in scientific format to avoid precision loss elements << std::scientific << time << stddev << stddev / time << bandwidth; elements << std::scientific << time << stddev << stddev / time << loops << bandwidth; if( speedup != 0 ) elements << speedup; else Loading