Commit ee7c2337 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed reset functions in the SpMV benchmark

parent f1bdcc74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ benchmarkSpmvSynthetic( Benchmark& benchmark,

   auto resetHostVectors = [&]() {
      hostInVector = 1.0;
      hostOutVector == 0.0;
      hostOutVector = 0.0;
   };

   auto spmvCSRHost = [&]() {
@@ -279,7 +279,7 @@ benchmarkSpmvSynthetic( Benchmark& benchmark,

   auto resetCusparseVectors = [&]() {
      cusparseInVector = 1.0;
      cusparseOutVector == 0.0;
      cusparseOutVector = 0.0;
   };

   auto spmvCusparse = [&]() {