Commit 034769de authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed becnhmark array operations comparison.

parent df97b70e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -66,10 +66,10 @@ benchmarkArrayOperations( Benchmark & benchmark,


   auto compareHost = [&]() {
      resultHost = (int) hostArray == hostArray2;
      resultHost = (int) ( hostArray == hostArray2 );
   };
   auto compareCuda = [&]() {
      resultDevice = (int) deviceArray == deviceArray2;
      resultDevice = (int) ( deviceArray == deviceArray2 );
   };
   benchmark.setOperation( "comparison (operator==)", 2 * datasetSize );
   benchmark.time< Devices::Host >( reset1, "CPU", compareHost );