Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!45Matrices revision
...@@ -85,6 +85,8 @@ benchmarkSpMV( Benchmark & benchmark, ...@@ -85,6 +85,8 @@ benchmarkSpMV( Benchmark & benchmark,
// Reset the buffer // Reset the buffer
std::cerr.rdbuf( old ); 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 ); std::string matrixFormat = getMatrixFormat( hostMatrix );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment