Add OCL kernel target
authorRoland Schulz <roland.schulz@intel.com>
Wed, 3 Oct 2018 04:25:13 +0000 (21:25 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 8 Oct 2018 21:18:18 +0000 (23:18 +0200)
commit289d6ee0f48995d459ee1290a6e816806e283d19
tree975735c53d67072753cc146adf0df3d54a3ef0ee
parent85139de3ffc6c1c24a462ef7652f9a642f40805e
Add OCL kernel target

The object files generated aren't used for anything. The target
is only compiled when manually specificied. Purpose is to show
any compiler warnings.
Requires that the compiler is clang. If clang-tidy is found
also checks with it.

Fixes #2661

Change-Id: I8fde969dde3dd759b4464d28397eee450ab4fa64
src/gromacs/mdlib/nbnxn_ocl/CMakeLists.txt
src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel.clh
src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh