Test that nvcc/host compiler combo works
authorErik Lindahl <erik@kth.se>
Fri, 15 Dec 2017 15:16:02 +0000 (16:16 +0100)
committerErik Lindahl <erik.lindahl@gmail.com>
Fri, 5 Jan 2018 15:58:23 +0000 (16:58 +0100)
commit5e9bcbcf84f7c4e909bfa4ac59a00e208f74eccf
tree59689423291effb02d90009deebce864cddb84dc
parentd2705e7e7eafa79d2c8c2fa686fa39166e9d1d5c
Test that nvcc/host compiler combo works

Compile a trivial CUDA program during CMake time
to catch both unsupported nvcc/host compiler
version combinations and other unknown errors.

Fixes #1616.

Change-Id: I3cc55e4d0db9d6eb01e8a7cd8916cc7a7a1e21fd
cmake/TestCUDA.cu [new file with mode: 0644]
cmake/gmxManageGPU.cmake