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

Found potential mistake in SpMV/spmv.h where MatrixReader doesn't need to be...

Found potential mistake in SpMV/spmv.h where MatrixReader doesn't need to be called twice. Commiting to show in meeting.
parent 6365a136
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -85,6 +85,8 @@ benchmarkSpMV( Benchmark & benchmark,
            // Reset the buffer
            std::cerr.rdbuf( old );
            
            // WHY DID I CAPTURE THE ERROR MESSAGE ONLY TO RUN MatrixReader again? Use the above capture to print into log and console?
            
             
            std::string matrixFormat = getMatrixFormat( hostMatrix );