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

Fixed unused lambda in SpMV benchmark.

parent 1d6b3d32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 );
    };