Improve issues with CUDA interacting with std flags
commit9f4618af3b240068340e199f88d6274bea12f8cd
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 5 Nov 2020 08:00:48 +0000 (5 08:00 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 5 Nov 2020 08:00:48 +0000 (5 08:00 +0000)
treea08f187e5369a6699514f6b07f7620aace9c4523
parent3b46d7d65c19a7a156f66f9eb5d0b85bf10c134b
Improve issues with CUDA interacting with std flags

GCC 7 needs a work-around just like older CUDA does.

Removed unnecessary use of C++17 features in compat/pointers.h as we
do in other parts of the code while CUDA compilation must be within
C++14.

Refs #3608
Fixes #3783, #3780
cmake/gmxManageNvccConfig.cmake
src/gromacs/compat/pointers.h
src/gromacs/hardware/CMakeLists.txt
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/prepare_detection.cpp [new file with mode: 0644]
src/gromacs/hardware/prepare_detection.h [new file with mode: 0644]