vetter / shoc

The SHOC Benchmark Suite
Other
247 stars 102 forks source link

on Windows, QTC timing results are nonsense #15

Closed jsmeredith closed 12 years ago

jsmeredith commented 12 years ago

On a GTX460, I got various infinity runtimes. On a Quadro FX 380, I got results like 1e-207 seconds and e+192 seconds.

jsmeredith commented 12 years ago

It turns out the way the timing code worked, it was adding wall clock times to uninitialized values. I guess on Windows, uninitialized really means uninitialized; otherwise, we should have noticed this before now.

I initialized the runtime values to 0.