Commit 13dc3bf6 authored by Lukas Cejka's avatar Lukas Cejka Committed by Tomáš Oberhuber
Browse files

Removed useless comments.

parent e2fe6a72
Loading
Loading
Loading
Loading
+5 −14
Original line number Diff line number Diff line
@@ -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;
}