Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment