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

Fixed logging of SpMV benchmarks in tnl-benchmark-blas

fixes #21
parent 0d2a9b33
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -114,7 +114,11 @@ benchmarkSpMV( Benchmark & benchmark,
   // create benchmark group
   Containers::List< String > parsedType;
   parseObjectType( HostMatrix::getType(), parsedType );
#ifdef HAVE_CUDA
   benchmark.createHorizontalGroup( parsedType[ 0 ], 2 );
#else
   benchmark.createHorizontalGroup( parsedType[ 0 ], 1 );
#endif

   hostRowLengths.setSize( size );
   hostMatrix.setDimensions( size, size );