GPU code reorganization and tweaks
authorSzilárd Páll <pall.szilard@gmail.com>
Tue, 19 Jan 2016 22:29:45 +0000 (23:29 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 26 Jan 2016 23:58:34 +0000 (00:58 +0100)
commita86dee3d7d01ceb0b9a74d98010d17c47a7a8359
tree723fcc7955e850657ecccf120c1b85e23e213930
parentcae513cd275189b0adb2b4a0e4901893c761cfca
GPU code reorganization and tweaks

- Moved the warp size macro to the new arch utils header and converted
  it to static const;
- Changes some awkward macro names in CUDA and OpenCL;
- Change the inline modifier of a number of CUDA functions to
  __forceinline__ which means unconditional inlining.

Change-Id: I5b748a920927f9a51ada14e3d6e65b6b4d4dbd43
src/gromacs/gpu_utils/cuda_arch_utils.cuh
src/gromacs/gpu_utils/cudautils.cuh
src/gromacs/gpu_utils/vectype_ops.cuh
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh
src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh