Prevent AMD OpenCL on OS X prior to 10.10.4
commitc66e8fa392161a414a07ad65a9f14b0b3ba02516
authorErik Lindahl <erik@kth.se>
Wed, 5 Aug 2015 15:48:44 +0000 (5 17:48 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 12 Aug 2015 12:35:50 +0000 (12 14:35 +0200)
tree0c82e8530c321541bff37b58cfa3146896866dc5
parent2a5b0b6ef821d383d2d748229b3807d4de947c00
Prevent AMD OpenCL on OS X prior to 10.10.4

OS X release 10.9.x has been confirmed to produce invalid OpenCL
kernels for AMD (but correct for NVIDIA), and we have tested that
it is fixed in 10.10.4. The fix might actually have appeared
already in 10.10.3, but it's not worth tracking down the exact
point since 10.10.5 is already out.
This change will issue a CMake warning when compiling GROMACS
on earlier OS X releases, and at runtime we check the version
again and mark AMD GPUs as incompatible.

Also fixed docs about the length of time JIT compilation takes
on AMD.

Refs #1783

Change-Id: I0202faea60c39daae6621d2bb9ba828aab5532a0
cmake/gmxManageOpenCL.cmake
docs/install-guide/index.rst
docs/user-guide/mdrun-performance.rst
src/gromacs/gmxlib/gpu_utils/gpu_utils_ocl.cpp