diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-13 14:23:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-13 14:23:33 -0800 |
commit | 51f6b5b05693a9601a25d2274e1a10e4ed01b947 (patch) | |
tree | ca67fffa6e94c732ca28c8c008409ec401f9cb62 | |
parent | 0286c6739d67bcbe5f0f10f1fd2a0a6debce33d1 (diff) |
note on linpack
-rw-r--r-- | tests/test_benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index 011ab256..63e0041f 100644 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -420,7 +420,7 @@ process(sys.argv[1]) return 100.0/float(re.search('Unrolled Double Precision +([\d\.]+) Mflops', output).group(1)) self.do_benchmark('linpack_double', open(path_from_root('tests', 'linpack.c')).read(), '''Unrolled Double Precision''', force_c=True, output_parser=output_parser) - def test_linpack_float(self): + def test_linpack_float(self): # TODO: investigate if this might benefit from -ffast-math in LLVM 3.3+ which has fast math stuff in LLVM IR def output_parser(output): return 100.0/float(re.search('Unrolled Single Precision +([\d\.]+) Mflops', output).group(1)) self.do_benchmark('linpack_float', open(path_from_root('tests', 'linpack.c')).read(), '''Unrolled Single Precision''', force_c=True, output_parser=output_parser, shared_args=['-DSP']) |