Minor fixes to GPU build system
commita0322c0005e62feeb3e89b34fa989bdce063365e
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 23 Aug 2018 09:23:51 +0000 (23 11:23 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Fri, 7 Sep 2018 14:34:15 +0000 (7 16:34 +0200)
tree52e3e3eb0d8b12f1a56b606358585cf3d2f0c226
parentcd8844bf398c9c9dcf22ed045b1a885bac47e347
Minor fixes to GPU build system

CUDA_FOUND is set by the find module, and should not be managed by us.

If CUDA hasn't been found, FindNVML can't be creative about finding
NVML, but if the user has set things up in other ways, NVML can still
be found.

We need all three of the outputs of the detection, so all three should
contribute to whether we run the detection code.

Change-Id: I3c528f5d4eacd4556c292d262b2b73ec7e32ada4
cmake/FindNVML.cmake
cmake/gmxDetectGpu.cmake
cmake/gmxManageGPU.cmake