Simplified uniform GPU selection in CMake
authorErik Lindahl <erik.lindahl@gmail.com>
Wed, 17 Jun 2020 18:25:20 +0000 (18:25 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 17 Jun 2020 18:25:20 +0000 (18:25 +0000)
commit9b3fb3b5ffdb77f223e9ed949508905284bfe3f3
treef13f210f6b029e6387d4c1199e4ef9b0796769f0
parent4f97cb30d399d61180902f168a3372f34d0dbaa4
Simplified uniform GPU selection in CMake

GPU selection is now done by setting GMX_GPU to either CUDA
or OpenCL, with no other variables required. As part of the
overall CMake simplification, the CMake automatic detection
of hardware and "auto" settings for GPU acceleration have
been removed. This will require the user to explicitly enable
GPU support (which is a drawback), but it leads to much
simplier and shorter CMake code, similar support for CUDA and
OpenCL, and it will make it easier to handle multiple different
APIs targeting e.g. NVIDIA GPU hardware in the near future.
CMakeLists.txt
admin/gitlab-ci/documentation.gitlab-ci.yml
admin/gitlab-ci/global.gitlab-ci.yml
admin/gitlab-ci/gromacs.gitlab-ci.yml
cmake/gmxDetectGpu.cmake [deleted file]
cmake/gmxManageCuda.cmake [new file with mode: 0644]
cmake/gmxManageGPU.cmake [deleted file]
cmake/gmxManageOpenCL.cmake
docs/install-guide/index.rst
docs/release-notes/2021/major/miscellaneous.rst
docs/user-guide/mdrun-performance.rst