<div dir="ltr">Wait, what's the context here - which Gambit primitives/features are implemented in terms of these floating point logics you talk about here?<div><br></div><div>Thanks!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-17 6:51 GMT+08:00 Bradley Lucier <span dir="ltr"><<a href="mailto:lucier@math.purdue.edu" target="_blank">lucier@math.purdue.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/16/2018 09:28 AM, Marc Feeley wrote:<br>
>On Apr 13, 2018, at 3:15 PM, Bradley Lucier <<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>> wrote > Bottom line: this page<br>
<span class="">> <br>
> <a href="https://asteroidsathome.net/boinc/cpu_list.php" rel="noreferrer" target="_blank">https://asteroidsathome.net/<wbr>boinc/cpu_list.php</a><br>
> <br>
> claims that this cpu gets 4.42 Whetstone GFLOPS per core, and we get a maximum of 5.24 GFLOPS on this fft code.  Not bad.<br>
<br>
</span>The code miscalculated the number of operations, the most we get with <br>
strict aliasing and allowing fused-multiply-add is 4.62 GFLOPS:<br>
<span class=""><br>
heine:~/Downloads> gsc -cc-options "-fstrict-aliasing -O3 -save-temps" <br>
-exe fft<br>
heine:~/Downloads> ./fft<br>
</span><stuff removed><br>
n = 17; time = .0048208906249999905; GFLOPS = 4.622020853252617; error = <br>
1.9179232434271595e-8<br>
<br>
and not allowing fused multiply add gives 4.18 GFLOPS:<br>
<span class=""><br>
heine:~/Downloads> gsc -cc-options "-fstrict-aliasing -O3 -save-temps <br>
-mno-fma" -exe fft<br>
heine:~/Downloads> ./fft<br>
</span><stuff removed><br>
n = 17; time = .00532633984375; GFLOPS = 4.183408804856173; error = <br>
1.895030528746498e-8<br>
<br>
I'll look into adding something to the Gambit benchmark suite.<br>
<br>
Brad<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
</div></div></blockquote></div><br></div>