Change use of compiler flags with GPU + C++11
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 18 Dec 2013 16:52:32 +0000 (18:52 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 28 Dec 2013 23:30:38 +0000 (00:30 +0100)
commit80a6e3b0defa557a33f344451e89079df0ac6528
tree7305c4a30589fcb8631cef03a067ec623b9c8660
parentf819c120dd2253a1b5ccad6aa98c0ed655bac184
Change use of compiler flags with GPU + C++11

Fix some unused parameter warnings in CUDA code, which were made visible
now that the warning flags propagate there.

Disable -Wnon-virtual-dtor, since C++-only flags seem to trip nvcc.
It is likely that this same warning is also given by cppcheck and/or the
clang static analyzer, so we should not lose much.  We can still enable
it again if we implement partial propagation of flags to nvcc.

Refs #1390

Change-Id: I8489af3dcc3139884065abe2e5806d71992abd6c
CMakeLists.txt
cmake/gmxCFlags.cmake
src/gromacs/legacyheaders/nbnxn_cuda_data_mgmt.h
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu
src/programs/mdrun/runner.c