Commit 7f3598e6 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Benchmarks: resetting the scalar values somehow helps to get sensible results for some operations

parent af2daed3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@ public:
        : verbose(verbose)
    { }

    // TODO: fix spacing (blank lines)
    void
    writeTitle( const tnlString & title )
    {
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ benchmarkVectorOperations( Benchmark & benchmark,
    auto reset1 = [&]() {
        hostVector.setValue( 1.0 );
        deviceVector.setValue( 1.0 );
        resultHost = resultDevice = 0.0;
    };
    auto reset2 = [&]() {
        hostVector2.setValue( 1.0 );