mohdshamilshafi / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

stopwatch class on CPU always returns 0 on Linux #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Worked fine on Mac, but appears to return 0.0 every time on Linux (dirac, CUDA 
4.0). It's this line:

    cudpp_app::StopWatch timer;
            printf("CPU execution time = %f\n", timer.getTime());

Original issue reported on code.google.com by jow...@gmail.com on 8 Jul 2011 at 5:52

GoogleCodeExporter commented 8 years ago
This was caused by calling start() when I meant stop() in testScan.cpp.  Fixed.

Original comment by harr...@gmail.com on 22 Jul 2011 at 5:01