Disable FPE for SYCL builds
authorAndrey Alekseenko <al42and@gmail.com>
Fri, 18 Dec 2020 13:39:51 +0000 (13:39 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Mon, 8 Feb 2021 16:20:22 +0000 (19:20 +0300)
commit48fb95de1e456569deed5096924e617d511cf109
tree340daf226c4f0442187f79d4d23a1662606fda5b
parent84b05f96f65c7f6408b6523e5d12e1ecfe3e6b9d
Disable FPE for SYCL builds

Intel Graphics Compiler triggers FPEs inside its JIT. We can more
selectively call gmx_fedisableexcept only iff we are running on
Intel's GPU, but, to me, a more predictable approach seems friendlier.

Also, refactored the two complex PP conditions into a separate function.
It's only called once at program launch, so function call overhead
should not be an issue.
api/legacy/include/gromacs/math/utilities.h
docs/dev-manual/tools.rst
src/gromacs/math/utilities.cpp
src/gromacs/mdrun/runner.cpp
src/testutils/testinit.cpp