From 13dc3bf6505247285706acbac7a13033e084fd88 Mon Sep 17 00:00:00 2001 From: Lukas Cejka <lukas.ostatek@gmail.com> Date: Mon, 28 Oct 2019 20:07:37 +0100 Subject: [PATCH] Removed useless comments. --- src/Benchmarks/SpMV/spmv.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/Benchmarks/SpMV/spmv.h b/src/Benchmarks/SpMV/spmv.h index e66e770fb4..484ff23589 100644 --- a/src/Benchmarks/SpMV/spmv.h +++ b/src/Benchmarks/SpMV/spmv.h @@ -144,15 +144,7 @@ benchmarkSpMV( Benchmark & benchmark, return false; } -// hostMatrix.print( std::cout ); -// std::cout << "\n\n\n\n===============VALUES:\n\n" << std::endl; - -// hostMatrix.printValues(); - -//#ifdef COMMENT #ifdef HAVE_CUDA - // FIXME: This doesn't work for Ad/BiEllpack, because - // their cross-device assignment is not implemented yet deviceMatrix = hostMatrix; #endif @@ -291,7 +283,6 @@ benchmarkSpMV( Benchmark & benchmark, //#endif -//#endif std::cout << std::endl; return true; } @@ -305,14 +296,14 @@ benchmarkSpmvSynthetic( Benchmark & benchmark, { bool result = true; // TODO: benchmark all formats from tnl-benchmark-spmv (different parameters of the base formats) - result |= benchmarkSpMV< Real, Matrices::CSR >( benchmark, inputFileName, verboseMR ); +// result |= benchmarkSpMV< Real, Matrices::CSR >( benchmark, inputFileName, verboseMR ); // result |= benchmarkSpMV< Real, Matrices::Ellpack >( benchmark, inputFileName, verboseMR ); - result |= benchmarkSpMV< Real, SlicedEllpack >( benchmark, inputFileName, verboseMR ); - result |= benchmarkSpMV< Real, Matrices::ChunkedEllpack >( benchmark, inputFileName, verboseMR ); +// result |= benchmarkSpMV< Real, SlicedEllpack >( benchmark, inputFileName, verboseMR ); +// result |= benchmarkSpMV< Real, Matrices::ChunkedEllpack >( benchmark, inputFileName, verboseMR ); // AdEllpack/BiEllpack doesn't have cross-device assignment ('= operator') implemented yet -// result |= benchmarkSpMV< Real, Matrices::AdEllpack >( benchmark, inputFileName, verboseMR ); - result |= benchmarkSpMV< Real, Matrices::BiEllpack >( benchmark, inputFileName, verboseMR ); + result |= benchmarkSpMV< Real, Matrices::AdEllpack >( benchmark, inputFileName, verboseMR ); +// result |= benchmarkSpMV< Real, Matrices::BiEllpack >( benchmark, inputFileName, verboseMR ); return result; } -- GitLab