Loading src/Benchmarks/SpMV/spmv.h +5 −14 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -291,7 +283,6 @@ benchmarkSpMV( Benchmark & benchmark, //#endif //#endif std::cout << std::endl; return true; } Loading @@ -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; } Loading Loading
src/Benchmarks/SpMV/spmv.h +5 −14 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -291,7 +283,6 @@ benchmarkSpMV( Benchmark & benchmark, //#endif //#endif std::cout << std::endl; return true; } Loading @@ -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; } Loading