Skip to content
Snippets Groups Projects
Commit b36b0fe5 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed unused lambda in SpMV benchmark.

parent 1d6b3d32
No related branches found
No related tags found
1 merge request!45Matrices revision
......@@ -180,10 +180,11 @@ benchmarkSpMV( Benchmark& benchmark,
auto spmvHost = [&]() {
hostMatrix.vectorProduct( hostVector, hostVector2 );
};
#ifdef HAVE_CUDA
auto spmvCuda = [&]() {
deviceMatrix.vectorProduct( deviceVector, deviceVector2 );
};
#ifdef HAVE_CUDA
auto spmvCusparse = [&]() {
cusparseCSR.vectorProduct( deviceVector, deviceVector2 );
};
......
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