Make -cl-fast-relaxed-math default
commit5c0c3dc2ef8ee5cb8b30f7d3f06db75882290db7
authorSzilárd Páll <pall.szilard@gmail.com>
Tue, 25 Oct 2016 23:29:01 +0000 (26 01:29 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 27 Oct 2016 12:26:31 +0000 (27 14:26 +0200)
treeb9ea9452afcc6364e2f3f5e9361f541284626866
parentf4401147a6d570fbba29eb205599643e796a08e1
Make -cl-fast-relaxed-math default

The change makes fastmath default and changes the previous env-var
trigger to GMX_OCL_DISABLE_FASTMATH to allow disabling it for testing.
It is known to be faster on all supported platforms (and we use it in
CUDA too) and it has been planned to be enabled for the r'16 release.

Change-Id: I8d196c9a14785ff43aae144ed95c3cb29241c83b
docs/user-guide/environment-variables.rst
src/gromacs/gpu_utils/ocl_compiler.cpp