Move nbnxn files to nbnxm directory
authorBerk Hess <hess@kth.se>
Fri, 4 Jan 2019 10:54:27 +0000 (11:54 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Sat, 16 Feb 2019 14:48:45 +0000 (15:48 +0100)
This change moves all files related to the nbnxn code to an new
nbnxm subdirectory. This change is only code motion and file renaming.
This is also the start of a renaming from nbnxn to nbnxm, which is
a more correct name, since the i- and j-cluster size can be different.
All nbnxn setup code in forcerec.cpp is moved to nbnxm_setup.cpp.
Removed nbnxn_ and _simd... pre- and postfixes from most files.
Renamed nbnxn_search.cpp to pairlist.cpp and nbnxn_search.h to
nbnxm_pairlistset.h. Although this is currently somewhat inconsistent,
future refactoring will make the contents consistent.
Renamed nbnxn_utility.h/cpp to nbnxm_geometry.h/cpp.

Change-Id: I39c17769c566f78b84211510c5ac17793fd131fa

285 files changed:
docs/doxygen/cycle-suppressions.txt
docs/doxygen/gmxtree.py
docs/doxygen/suppressions.txt
src/gromacs/CMakeLists.txt
src/gromacs/domdec/partition.cpp
src/gromacs/ewald/pme_load_balancing.cpp
src/gromacs/mdlib/CMakeLists.txt
src/gromacs/mdlib/calc_verletbuf.cpp
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/forcerec.h
src/gromacs/mdlib/nbnxn_grid.h [deleted file]
src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h [deleted file]
src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h [deleted file]
src/gromacs/mdlib/perf_est.cpp
src/gromacs/mdlib/resethandler.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/md.cpp
src/gromacs/mdrun/mimic.cpp
src/gromacs/mdrun/rerun.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/nbnxm/CMakeLists.txt [new file with mode: 0644]
src/gromacs/nbnxm/atomdata.cpp [moved from src/gromacs/mdlib/nbnxn_atomdata.cpp with 99% similarity]
src/gromacs/nbnxm/atomdata.h [moved from src/gromacs/mdlib/nbnxn_atomdata.h with 97% similarity]
src/gromacs/nbnxm/constants.h [moved from src/gromacs/mdlib/nbnxn_consts.h with 97% similarity]
src/gromacs/nbnxm/cuda/CMakeLists.txt [moved from src/gromacs/mdlib/nbnxn_cuda/CMakeLists.txt with 74% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu with 97% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda.h [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.h with 96% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu with 99% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh with 99% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_noprune.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_noprune.cu with 85% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_prune.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_prune.cu with 85% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_noprune.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_noprune.cu with 85% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_prune.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_prune.cu with 86% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cu [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cu with 94% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cuh [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cuh with 98% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh with 99% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh with 80% similarity]
src/gromacs/nbnxm/cuda/nbnxm_cuda_types.h [moved from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_types.h with 97% similarity]
src/gromacs/nbnxm/gpu_common.h [moved from src/gromacs/mdlib/nbnxn_gpu_common.h with 97% similarity]
src/gromacs/nbnxm/gpu_common_utils.h [moved from src/gromacs/mdlib/nbnxn_gpu_common_utils.h with 89% similarity]
src/gromacs/nbnxm/gpu_data_mgmt.h [moved from src/gromacs/mdlib/nbnxn_gpu_data_mgmt.h with 97% similarity]
src/gromacs/nbnxm/gpu_jit_support.h [moved from src/gromacs/mdlib/nbnxn_gpu_jit_support.h with 91% similarity]
src/gromacs/nbnxm/gpu_types.h [moved from src/gromacs/mdlib/nbnxn_gpu_types.h with 86% similarity]
src/gromacs/nbnxm/gpu_types_common.h [moved from src/gromacs/mdlib/nbnxn_gpu_types_common.h with 97% similarity]
src/gromacs/nbnxm/grid.cpp [moved from src/gromacs/mdlib/nbnxn_grid.cpp with 99% similarity]
src/gromacs/nbnxm/internal.h [moved from src/gromacs/mdlib/nbnxn_internal.h with 96% similarity]
src/gromacs/nbnxm/kernel_common.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.cpp with 99% similarity]
src/gromacs/nbnxm/kernel_common.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h with 94% similarity]
src/gromacs/nbnxm/kernel_file_generator/kernel_simd_2xmm_kernel.cpp.pre [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_4xn_kernel.cpp.pre with 94% similarity]
src/gromacs/nbnxm/kernel_file_generator/kernel_simd_4xm_kernel.cpp.pre [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_2xnn_kernel.cpp.pre with 94% similarity]
src/gromacs/nbnxm/kernel_file_generator/kernel_simd_template.h.pre [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_template.h.pre with 85% similarity]
src/gromacs/nbnxm/kernel_file_generator/make_verlet_simd_kernel_files.py [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/make_verlet_simd_kernel_files.py with 90% similarity]
src/gromacs/nbnxm/kerneldispatch.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_cpu.cpp with 95% similarity]
src/gromacs/nbnxm/kerneldispatch.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_cpu.h with 97% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_gpu_ref.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.cpp with 98% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_gpu_ref.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.h with 98% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.cpp with 71% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.h with 98% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref_includes.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h with 88% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref_inner.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h with 100% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref_outer.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h with 96% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref_prune.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_prune.cpp with 97% similarity]
src/gromacs/nbnxm/kernels_reference/kernel_ref_prune.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_prune.h with 100% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_F_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h with 99% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h with 100% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h with 97% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_prune.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_prune.cpp with 96% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernel_prune.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_prune.h with 100% similarity]
src/gromacs/nbnxm/kernels_simd_2xmm/kernels.h [new file with mode: 0644]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_F_4xn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_VF_4xn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_F.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_F_4xn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_VF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_VF_4xn.cpp with 89% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_VgrpF.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn.cpp with 90% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_common.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h with 99% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h with 100% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h with 97% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_prune.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_prune.cpp with 97% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernel_prune.h [moved from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_prune.h with 100% similarity]
src/gromacs/nbnxm/kernels_simd_4xm/kernels.h [new file with mode: 0644]
src/gromacs/nbnxm/nbnxm.h [moved from src/gromacs/mdlib/nb_verlet.h with 64% similarity]
src/gromacs/nbnxm/nbnxm_geometry.cpp [moved from src/gromacs/mdlib/nbnxn_util.h with 78% similarity]
src/gromacs/nbnxm/nbnxm_geometry.h [new file with mode: 0644]
src/gromacs/nbnxm/nbnxm_gpu.h [moved from src/gromacs/mdlib/nbnxn_gpu.h with 98% similarity]
src/gromacs/nbnxm/nbnxm_setup.cpp [new file with mode: 0644]
src/gromacs/nbnxm/nbnxm_simd.h [moved from src/gromacs/mdlib/nbnxn_simd.h with 94% similarity]
src/gromacs/nbnxm/opencl/CMakeLists.txt [moved from src/gromacs/mdlib/nbnxn_ocl/CMakeLists.txt with 88% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl.cpp [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl.cpp with 98% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_consts.h [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_consts.h with 91% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_data_mgmt.cpp [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp with 99% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_internal.h [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_internal.h with 93% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_jit_support.cpp [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_jit_support.cpp with 94% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel.clh with 99% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel_pruneonly.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_pruneonly.clh with 98% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel_utils.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh with 99% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels.cl [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels.cl with 89% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels.clh with 87% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels_fastgen.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen.clh with 94% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels_fastgen_add_twincut.clh [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen_add_twincut.clh with 93% similarity]
src/gromacs/nbnxm/opencl/nbnxm_ocl_types.h [moved from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_types.h with 97% similarity]
src/gromacs/nbnxm/pairlist.cpp [moved from src/gromacs/mdlib/nbnxn_search.cpp with 99% similarity]
src/gromacs/nbnxm/pairlist.h [moved from src/gromacs/mdlib/nbnxn_pairlist.h with 98% similarity]
src/gromacs/nbnxm/pairlist_simd_2xmm.h [moved from src/gromacs/mdlib/nbnxn_search_simd_2xnn.h with 100% similarity]
src/gromacs/nbnxm/pairlist_simd_4xm.h [moved from src/gromacs/mdlib/nbnxn_search_simd_4xn.h with 100% similarity]
src/gromacs/nbnxm/pairlist_tuning.cpp [moved from src/gromacs/mdlib/nbnxn_tuning.cpp with 99% similarity]
src/gromacs/nbnxm/pairlist_tuning.h [moved from src/gromacs/mdlib/nbnxn_tuning.h with 95% similarity]
src/gromacs/nbnxm/pairlistset.h [moved from src/gromacs/mdlib/nbnxn_search.h with 79% similarity]
src/gromacs/nbnxm/prunekerneldispatch.cpp [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_prune.cpp with 92% similarity]
src/gromacs/nbnxm/prunekerneldispatch.h [moved from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_prune.h with 96% similarity]
src/gromacs/taskassignment/decidegpuusage.cpp

index 9c8f5a457482360f2e6b952c626d5200beaee2c8..8dfa984a0e083382f3460632fccf57538479a994 100644 (file)
@@ -12,6 +12,8 @@ mdlib -> imd
 mdlib -> ewald
 mdlib -> pulling
 mdlib -> awh
+nbnxm -> domdec
+nbnxm -> mdlib
 simd -> hardware
 gpu_utils -> hardware
 listed_forces -> mdlib
index 8f0dc41f2241b5fd82ab9531dead6885d67ccf9e..488dcfa6564065e633a4aa5f50f13efcb5d10f92 100644 (file)
@@ -1080,4 +1080,4 @@ class GromacsTree(object):
         return (self._files['src/config.h'],
                 self._files['src/gromacs/simd/simd.h'],
                 self._files['src/gromacs/ewald/pme_simd.h'],
-                self._files['src/gromacs/mdlib/nbnxn_simd.h'])
+                self._files['src/gromacs/nbnxm/nbnxm_simd.h'])
index dd52e16494453c536c9a99d185d048dd83eec674..a8c95b0f7a30b0223a057bba9633395fdc109e34 100644 (file)
@@ -19,22 +19,19 @@ src/gromacs/ewald/pme_simd4.h: warning: should include "pme_simd.h"
 src/gromacs/ewald/pme_spline_work.cpp: warning: includes "simd.h" unnecessarily
 src/gromacs/ewald/pme_spline_work.h: warning: includes "simd.h" unnecessarily
 src/gromacs/ewald/pme_spread.cpp: warning: includes "simd.h" unnecessarily
-src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h: warning: should include "simd.h"
-src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h: warning: should include "simd.h"
-src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h: warning: should include "simd.h"
-src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h: warning: should include "simd.h"
-src/gromacs/mdlib/nbnxn_search_simd_2xnn.h: warning: should include "simd.h"
-src/gromacs/mdlib/nbnxn_search_simd_4xn.h: warning: should include "simd.h"
+src/gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h: warning: should include "simd.h"
+src/gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h: warning: should include "simd.h"
+src/gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h: warning: should include "simd.h"
+src/gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h: warning: should include "simd.h"
+src/gromacs/nbnxm/pairlist_simd_2xmm.h: warning: should include "simd.h"
+src/gromacs/nbnxm/pairlist_simd_4xm.h: warning: should include "simd.h"
 
 # This module name doesn't really fall into any currently used pattern; needs some thought
 : error: no matching directory for module: module_mdrun_integration_tests
 
 # These would be nice to fix, but can wait for later / deletion / rewrites
-src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.cpp: warning: includes "config.h" unnecessarily
-src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.cpp: warning: includes "config.h" unnecessarily
-src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h: warning: should include "config.h"
-src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h: warning: should include "nbnxn_simd.h"
-src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h: warning: should include "nbnxn_simd.h"
+src/gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h: warning: should include "nbnxm_simd.h"
+src/gromacs/nbnxm/kernels_simd_4xm/kernel_common.h: warning: should include "nbnxm_simd.h"
 
 # Temporary while we change the SIMD implementation
 src/gromacs/simd/impl_sparc64_hpc_ace/impl_sparc64_hpc_ace_common.h: warning: should include "simd.h"
index b4eb9e476ff842e928386e85980be21796d11aaf..71d72783dac0c09e7614d92b97b56422e45368d9 100644 (file)
@@ -97,6 +97,7 @@ add_subdirectory(gmxlib)
 add_subdirectory(mdlib)
 add_subdirectory(applied_forces)
 add_subdirectory(listed_forces)
+add_subdirectory(nbnxm)
 add_subdirectory(commandline)
 add_subdirectory(domdec)
 add_subdirectory(ewald)
@@ -412,25 +413,25 @@ if(GMX_USE_OPENCL)
         DESTINATION ${GMX_INSTALL_OCLDIR}/gromacs/pbcutil
         COMPONENT libraries)
 
-    # Install the NB source and headers
+    # Install the NBNXM source and headers
     file(GLOB OPENCL_INSTALLED_FILES
-        mdlib/nbnxn_consts.h
+        nbnxm/constants.h
         )
     install(FILES ${OPENCL_INSTALLED_FILES}
-        DESTINATION ${GMX_INSTALL_OCLDIR}/gromacs/mdlib
+        DESTINATION ${GMX_INSTALL_OCLDIR}/gromacs/nbnxm
         COMPONENT libraries)
     file(GLOB OPENCL_INSTALLED_FILES
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernels.cl
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernel.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernel_pruneonly.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernels.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen_add_twincut.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh
-        mdlib/nbnxn_ocl/nbnxn_ocl_consts.h
+        nbnxm/opencl/nbnxm_ocl_kernels.cl
+        nbnxm/opencl/nbnxm_ocl_kernel.clh
+        nbnxm/opencl/nbnxm_ocl_kernel_pruneonly.clh
+        nbnxm/opencl/nbnxm_ocl_kernels.clh
+        nbnxm/opencl/nbnxm_ocl_kernels_fastgen.clh
+        nbnxm/opencl/nbnxm_ocl_kernels_fastgen_add_twincut.clh
+        nbnxm/opencl/nbnxm_ocl_kernel_utils.clh
+        nbnxm/opencl/nbnxm_ocl_consts.h
         )
     install(FILES ${OPENCL_INSTALLED_FILES}
-        DESTINATION ${GMX_INSTALL_OCLDIR}/gromacs/mdlib/nbnxn_ocl
+        DESTINATION ${GMX_INSTALL_OCLDIR}/gromacs/nbnxm/opencl
         COMPONENT libraries)
 
     # Install the PME source and headers
index 701556db2d97023086fff44ac5762e96c9680df5..be726af14104d839aacbc961376ef41b849b2529 100644 (file)
@@ -70,8 +70,6 @@
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
 #include "gromacs/mdlib/mdatoms.h"
 #include "gromacs/mdlib/mdsetup.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_grid.h"
 #include "gromacs/mdlib/nsgrid.h"
 #include "gromacs/mdlib/vsite.h"
 #include "gromacs/mdtypes/commrec.h"
@@ -80,6 +78,7 @@
 #include "gromacs/mdtypes/md_enums.h"
 #include "gromacs/mdtypes/nblist.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pulling/pull.h"
 #include "gromacs/timing/wallcycle.h"
 #include "gromacs/topology/mtop_util.h"
index 9c147967a97eea1f985c385c195fe9680dc86a8b..579fc3c7f9b4a67d2ad177e2c6ccf7cc5bf62377 100644 (file)
 #include "gromacs/math/functions.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/forcerec.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
 #include "gromacs/mdlib/sim_util.h"
 #include "gromacs/mdtypes/commrec.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/timing/wallcycle.h"
 #include "gromacs/utility/cstringutil.h"
index 7bd5081d7e6f4dc73c7d9cfd4acf584c4c1283f9..baa580365747807a5f7f7e048e48751e7d7853c2 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2010,2012,2013,2014,2015,2018, by the GROMACS development team, led by
+# Copyright (c) 2010,2012,2013,2014,2015,2018,2019, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
 # To help us fund GROMACS development, we humbly ask that you cite
 # the research papers on the package. Check out http://www.gromacs.org.
 
-file(GLOB MDLIB_SOURCES nbnxn_kernels/simd_4xn/*.cpp nbnxn_kernels/simd_2xnn/*.cpp nbnxn_kernels/*.cpp *.cpp)
-
-if(GMX_USE_CUDA)
-    add_subdirectory(nbnxn_cuda)
-endif()
-if(GMX_USE_OPENCL)
-    add_subdirectory(nbnxn_ocl)
-    set(MDLIB_OPENCL_KERNELS ${MDLIB_OPENCL_KERNELS} PARENT_SCOPE)
-endif()
+file(GLOB MDLIB_SOURCES *.cpp)
 
 set(MDLIB_SOURCES ${MDLIB_SOURCES} PARENT_SCOPE)
 if (BUILD_TESTING)
index 3de11ebea9771daf2c956e5375bfcab1c699d78f..7bee75dae4b7a09644f87d79ac1194635e6fafff 100644 (file)
 #include "gromacs/math/functions.h"
 #include "gromacs/math/units.h"
 #include "gromacs/math/vec.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
-#include "gromacs/mdlib/nbnxn_util.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_geometry.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 #include "gromacs/topology/block.h"
 #include "gromacs/topology/ifunc.h"
 #include "gromacs/topology/topology.h"
index 38e4928684f1acd3c849f1793434ddd9f653d0be..26a6a50a5cdde9e5fdea15f6830b03852f387132 100644 (file)
 #include "gromacs/mdlib/forcerec_threading.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
 #include "gromacs/mdlib/md_support.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_atomdata.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_grid.h"
-#include "gromacs/mdlib/nbnxn_internal.h"
-#include "gromacs/mdlib/nbnxn_search.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
-#include "gromacs/mdlib/nbnxn_tuning.h"
-#include "gromacs/mdlib/nbnxn_util.h"
 #include "gromacs/mdlib/ns.h"
 #include "gromacs/mdlib/qmmm.h"
 #include "gromacs/mdlib/rf_util.h"
 #include "gromacs/mdtypes/iforceprovider.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/pbcutil/pbc.h"
-#include "gromacs/simd/simd.h"
 #include "gromacs/tables/forcetable.h"
 #include "gromacs/topology/mtop_util.h"
 #include "gromacs/trajectory/trajectoryframe.h"
 #include "gromacs/utility/smalloc.h"
 #include "gromacs/utility/strconvert.h"
 
-#include "nbnxn_gpu_jit_support.h"
-
 t_forcerec *mk_forcerec()
 {
     t_forcerec *fr;
@@ -1516,214 +1506,6 @@ static real cutoff_inf(real cutoff)
     return cutoff;
 }
 
-gmx_bool nbnxn_simd_supported(const gmx::MDLogger &mdlog,
-                              const t_inputrec    *ir)
-{
-    if (ir->vdwtype == evdwPME && ir->ljpme_combination_rule == eljpmeLB)
-    {
-        /* LJ PME with LB combination rule does 7 mesh operations.
-         * This so slow that we don't compile SIMD non-bonded kernels
-         * for that. */
-        GMX_LOG(mdlog.warning).asParagraph().appendText("LJ-PME with Lorentz-Berthelot is not supported with SIMD kernels, falling back to plain C kernels");
-        return FALSE;
-    }
-
-    return TRUE;
-}
-
-
-static void pick_nbnxn_kernel_cpu(const t_inputrec gmx_unused    *ir,
-                                  int                            *kernel_type,
-                                  int                            *ewald_excl,
-                                  const gmx_hw_info_t gmx_unused &hardwareInfo)
-{
-    *kernel_type = nbnxnk4x4_PlainC;
-    *ewald_excl  = ewaldexclTable;
-
-#if GMX_SIMD
-    {
-#ifdef GMX_NBNXN_SIMD_4XN
-        *kernel_type = nbnxnk4xN_SIMD_4xN;
-#endif
-#ifdef GMX_NBNXN_SIMD_2XNN
-        *kernel_type = nbnxnk4xN_SIMD_2xNN;
-#endif
-
-#if defined GMX_NBNXN_SIMD_2XNN && defined GMX_NBNXN_SIMD_4XN
-        /* We need to choose if we want 2x(N+N) or 4xN kernels.
-         * This is based on the SIMD acceleration choice and CPU information
-         * detected at runtime.
-         *
-         * 4xN calculates more (zero) interactions, but has less pair-search
-         * work and much better kernel instruction scheduling.
-         *
-         * Up till now we have only seen that on Intel Sandy/Ivy Bridge,
-         * which doesn't have FMA, both the analytical and tabulated Ewald
-         * kernels have similar pair rates for 4x8 and 2x(4+4), so we choose
-         * 2x(4+4) because it results in significantly fewer pairs.
-         * For RF, the raw pair rate of the 4x8 kernel is higher than 2x(4+4),
-         * 10% with HT, 50% without HT. As we currently don't detect the actual
-         * use of HT, use 4x8 to avoid a potential performance hit.
-         * On Intel Haswell 4x8 is always faster.
-         */
-        *kernel_type = nbnxnk4xN_SIMD_4xN;
-
-#if !GMX_SIMD_HAVE_FMA
-        if (EEL_PME_EWALD(ir->coulombtype) ||
-            EVDW_PME(ir->vdwtype))
-        {
-            /* We have Ewald kernels without FMA (Intel Sandy/Ivy Bridge).
-             * There are enough instructions to make 2x(4+4) efficient.
-             */
-            *kernel_type = nbnxnk4xN_SIMD_2xNN;
-        }
-#endif
-        if (hardwareInfo.haveAmdZenCpu)
-        {
-            /* One 256-bit FMA per cycle makes 2xNN faster */
-            *kernel_type = nbnxnk4xN_SIMD_2xNN;
-        }
-#endif  /* GMX_NBNXN_SIMD_2XNN && GMX_NBNXN_SIMD_4XN */
-
-
-        if (getenv("GMX_NBNXN_SIMD_4XN") != nullptr)
-        {
-#ifdef GMX_NBNXN_SIMD_4XN
-            *kernel_type = nbnxnk4xN_SIMD_4xN;
-#else
-            gmx_fatal(FARGS, "SIMD 4xN kernels requested, but GROMACS has been compiled without support for these kernels");
-#endif
-        }
-        if (getenv("GMX_NBNXN_SIMD_2XNN") != nullptr)
-        {
-#ifdef GMX_NBNXN_SIMD_2XNN
-            *kernel_type = nbnxnk4xN_SIMD_2xNN;
-#else
-            gmx_fatal(FARGS, "SIMD 2x(N+N) kernels requested, but GROMACS has been compiled without support for these kernels");
-#endif
-        }
-
-        /* Analytical Ewald exclusion correction is only an option in
-         * the SIMD kernel.
-         * Since table lookup's don't parallelize with SIMD, analytical
-         * will probably always be faster for a SIMD width of 8 or more.
-         * With FMA analytical is sometimes faster for a width if 4 as well.
-         * In single precision, this is faster on Bulldozer.
-         */
-#if GMX_SIMD_REAL_WIDTH >= 8 || \
-        (GMX_SIMD_REAL_WIDTH >= 4 && GMX_SIMD_HAVE_FMA && !GMX_DOUBLE)
-        /* On AMD Zen, tabulated Ewald kernels are faster on all 4 combinations
-         * of single or double precision and 128 or 256-bit AVX2.
-         */
-        if (!hardwareInfo.haveAmdZenCpu)
-        {
-            *ewald_excl = ewaldexclAnalytical;
-        }
-#endif
-        if (getenv("GMX_NBNXN_EWALD_TABLE") != nullptr)
-        {
-            *ewald_excl = ewaldexclTable;
-        }
-        if (getenv("GMX_NBNXN_EWALD_ANALYTICAL") != nullptr)
-        {
-            *ewald_excl = ewaldexclAnalytical;
-        }
-
-    }
-#endif // GMX_SIMD
-}
-
-
-const char *lookup_nbnxn_kernel_name(int kernel_type)
-{
-    const char *returnvalue = nullptr;
-    switch (kernel_type)
-    {
-        case nbnxnkNotSet:
-            returnvalue = "not set";
-            break;
-        case nbnxnk4x4_PlainC:
-            returnvalue = "plain C";
-            break;
-        case nbnxnk4xN_SIMD_4xN:
-        case nbnxnk4xN_SIMD_2xNN:
-#if GMX_SIMD
-            returnvalue = "SIMD";
-#else  // GMX_SIMD
-            returnvalue = "not available";
-#endif // GMX_SIMD
-            break;
-        case nbnxnk8x8x8_GPU: returnvalue    = "GPU"; break;
-        case nbnxnk8x8x8_PlainC: returnvalue = "plain C"; break;
-
-        case nbnxnkNR:
-        default:
-            gmx_fatal(FARGS, "Illegal kernel type selected");
-    }
-    return returnvalue;
-};
-
-static void pick_nbnxn_kernel(const gmx::MDLogger &mdlog,
-                              gmx_bool             use_simd_kernels,
-                              const gmx_hw_info_t &hardwareInfo,
-                              gmx_bool             bUseGPU,
-                              EmulateGpuNonbonded  emulateGpu,
-                              const t_inputrec    *ir,
-                              int                 *kernel_type,
-                              int                 *ewald_excl,
-                              gmx_bool             bDoNonbonded)
-{
-    assert(kernel_type);
-
-    *kernel_type = nbnxnkNotSet;
-    *ewald_excl  = ewaldexclTable;
-
-    if (emulateGpu == EmulateGpuNonbonded::Yes)
-    {
-        *kernel_type = nbnxnk8x8x8_PlainC;
-
-        if (bDoNonbonded)
-        {
-            GMX_LOG(mdlog.warning).asParagraph().appendText("Emulating a GPU run on the CPU (slow)");
-        }
-    }
-    else if (bUseGPU)
-    {
-        *kernel_type = nbnxnk8x8x8_GPU;
-    }
-
-    if (*kernel_type == nbnxnkNotSet)
-    {
-        if (use_simd_kernels &&
-            nbnxn_simd_supported(mdlog, ir))
-        {
-            pick_nbnxn_kernel_cpu(ir, kernel_type, ewald_excl, hardwareInfo);
-        }
-        else
-        {
-            *kernel_type = nbnxnk4x4_PlainC;
-        }
-    }
-
-    if (bDoNonbonded)
-    {
-        GMX_LOG(mdlog.info).asParagraph().appendTextFormatted(
-                "Using %s %dx%d nonbonded short-range kernels",
-                lookup_nbnxn_kernel_name(*kernel_type),
-                nbnxn_kernel_to_cluster_i_size(*kernel_type),
-                nbnxn_kernel_to_cluster_j_size(*kernel_type));
-
-        if (nbnxnk4x4_PlainC == *kernel_type ||
-            nbnxnk8x8x8_PlainC == *kernel_type)
-        {
-            GMX_LOG(mdlog.warning).asParagraph().appendTextFormatted(
-                    "WARNING: Using the slow %s kernels. This should\n"
-                    "not happen during routine usage on supported platforms.",
-                    lookup_nbnxn_kernel_name(*kernel_type));
-        }
-    }
-}
-
 /*! \brief Print Coulomb Ewald citations and set ewald coefficients */
 static void initCoulombEwaldParameters(FILE *fp, const t_inputrec *ir,
                                        bool systemHasNetCharge,
@@ -2099,163 +1881,6 @@ done_interaction_const(interaction_const_t *interaction_const)
     sfree(interaction_const);
 }
 
-static void init_nb_verlet(const gmx::MDLogger     &mdlog,
-                           nonbonded_verlet_t     **nb_verlet,
-                           gmx_bool                 bFEP_NonBonded,
-                           const t_inputrec        *ir,
-                           const t_forcerec        *fr,
-                           const t_commrec         *cr,
-                           const gmx_hw_info_t     &hardwareInfo,
-                           const gmx_device_info_t *deviceInfo,
-                           const gmx_mtop_t        *mtop,
-                           matrix                   box)
-{
-    nonbonded_verlet_t *nbv;
-    char               *env;
-
-    nbv = new nonbonded_verlet_t();
-
-    nbv->emulateGpu = ((getenv("GMX_EMULATE_GPU") != nullptr) ? EmulateGpuNonbonded::Yes : EmulateGpuNonbonded::No);
-    nbv->bUseGPU    = deviceInfo != nullptr;
-
-    GMX_RELEASE_ASSERT(!(nbv->emulateGpu == EmulateGpuNonbonded::Yes && nbv->bUseGPU), "When GPU emulation is active, there cannot be a GPU assignment");
-
-    nbv->nbs             = nullptr;
-    nbv->min_ci_balanced = 0;
-
-    nbv->ngrp = (DOMAINDECOMP(cr) ? 2 : 1);
-    for (int i = 0; i < nbv->ngrp; i++)
-    {
-        nbv->grp[i].nbl_lists.nnbl = 0;
-        nbv->grp[i].kernel_type    = nbnxnkNotSet;
-
-        if (i == 0) /* local */
-        {
-            pick_nbnxn_kernel(mdlog, fr->use_simd_kernels, hardwareInfo,
-                              nbv->bUseGPU, nbv->emulateGpu, ir,
-                              &nbv->grp[i].kernel_type,
-                              &nbv->grp[i].ewald_excl,
-                              fr->bNonbonded);
-        }
-        else /* non-local */
-        {
-            /* Use the same kernel for local and non-local interactions */
-            nbv->grp[i].kernel_type = nbv->grp[0].kernel_type;
-            nbv->grp[i].ewald_excl  = nbv->grp[0].ewald_excl;
-        }
-    }
-
-    nbv->listParams = std::make_unique<NbnxnListParameters>(ir->rlist);
-    setupDynamicPairlistPruning(mdlog, ir, mtop, box, nbv->grp[0].kernel_type, fr->ic,
-                                nbv->listParams.get());
-
-    nbv->nbs = std::make_unique<nbnxn_search>(DOMAINDECOMP(cr) ? &cr->dd->nc : nullptr,
-                                              DOMAINDECOMP(cr) ? domdec_zones(cr->dd) : nullptr,
-                                              bFEP_NonBonded,
-                                              gmx_omp_nthreads_get(emntPairsearch));
-
-    for (int i = 0; i < nbv->ngrp; i++)
-    {
-        nbnxn_init_pairlist_set(&nbv->grp[i].nbl_lists,
-                                nbnxn_kernel_pairlist_simple(nbv->grp[i].kernel_type),
-                                /* 8x8x8 "non-simple" lists are ATM always combined */
-                                !nbnxn_kernel_pairlist_simple(nbv->grp[i].kernel_type));
-    }
-
-    int      enbnxninitcombrule;
-    if (fr->ic->vdwtype == evdwCUT &&
-        (fr->ic->vdw_modifier == eintmodNONE ||
-         fr->ic->vdw_modifier == eintmodPOTSHIFT) &&
-        getenv("GMX_NO_LJ_COMB_RULE") == nullptr)
-    {
-        /* Plain LJ cut-off: we can optimize with combination rules */
-        enbnxninitcombrule = enbnxninitcombruleDETECT;
-    }
-    else if (fr->ic->vdwtype == evdwPME)
-    {
-        /* LJ-PME: we need to use a combination rule for the grid */
-        if (fr->ljpme_combination_rule == eljpmeGEOM)
-        {
-            enbnxninitcombrule = enbnxninitcombruleGEOM;
-        }
-        else
-        {
-            enbnxninitcombrule = enbnxninitcombruleLB;
-        }
-    }
-    else
-    {
-        /* We use a full combination matrix: no rule required */
-        enbnxninitcombrule = enbnxninitcombruleNONE;
-    }
-
-    nbv->nbat = new nbnxn_atomdata_t(nbv->bUseGPU ? gmx::PinningPolicy::PinnedIfSupported : gmx::PinningPolicy::CannotBePinned);
-    int mimimumNumEnergyGroupNonbonded = ir->opts.ngener;
-    if (ir->opts.ngener - ir->nwall == 1)
-    {
-        /* We have only one non-wall energy group, we do not need energy group
-         * support in the non-bondeds kernels, since all non-bonded energy
-         * contributions go to the first element of the energy group matrix.
-         */
-        mimimumNumEnergyGroupNonbonded = 1;
-    }
-    bool bSimpleList = nbnxn_kernel_pairlist_simple(nbv->grp[0].kernel_type);
-    nbnxn_atomdata_init(mdlog,
-                        nbv->nbat,
-                        nbv->grp[0].kernel_type,
-                        enbnxninitcombrule,
-                        fr->ntype, fr->nbfp,
-                        mimimumNumEnergyGroupNonbonded,
-                        bSimpleList ? gmx_omp_nthreads_get(emntNonbonded) : 1);
-
-    if (nbv->bUseGPU)
-    {
-        /* init the NxN GPU data; the last argument tells whether we'll have
-         * both local and non-local NB calculation on GPU */
-        nbnxn_gpu_init(&nbv->gpu_nbv,
-                       deviceInfo,
-                       fr->ic,
-                       nbv->listParams.get(),
-                       nbv->nbat,
-                       cr->nodeid,
-                       (nbv->ngrp > 1));
-
-        if ((env = getenv("GMX_NB_MIN_CI")) != nullptr)
-        {
-            char *end;
-
-            nbv->min_ci_balanced = strtol(env, &end, 10);
-            if (!end || (*end != 0) || nbv->min_ci_balanced < 0)
-            {
-                gmx_fatal(FARGS, "Invalid value passed in GMX_NB_MIN_CI=%s, non-negative integer required", env);
-            }
-
-            if (debug)
-            {
-                fprintf(debug, "Neighbor-list balancing parameter: %d (passed as env. var.)\n",
-                        nbv->min_ci_balanced);
-            }
-        }
-        else
-        {
-            nbv->min_ci_balanced = nbnxn_gpu_min_ci_balanced(nbv->gpu_nbv);
-            if (debug)
-            {
-                fprintf(debug, "Neighbor-list balancing parameter: %d (auto-adjusted to the number of GPU multi-processors)\n",
-                        nbv->min_ci_balanced);
-            }
-        }
-
-    }
-
-    *nb_verlet = nbv;
-}
-
-gmx_bool usingGpu(nonbonded_verlet_t *nbv)
-{
-    return nbv != nullptr && nbv->bUseGPU;
-}
-
 void init_forcerec(FILE                             *fp,
                    const gmx::MDLogger              &mdlog,
                    t_forcerec                       *fr,
index 1316e872ff3f23f5f13c63334b9e536887e696fa..b5a60c933b971ce978d8440a7b46d80b1709228a 100644 (file)
@@ -160,13 +160,6 @@ gmx_bool uses_simple_tables(int                 cutoff_scheme,
  * with the type of kernel indicated.
  */
 
-gmx_bool nbnxn_simd_supported(const gmx::MDLogger &mdlog,
-                              const t_inputrec    *ir);
-/* Return if CPU SIMD support exists for the given inputrec
- * If the return value is FALSE and fplog/cr != NULL, prints a fallback
- * message to fplog/stderr.
- */
-
 /* Compute the average C6 and C12 params for LJ corrections */
 void set_avcsixtwelve(FILE *fplog, t_forcerec *fr,
                       const gmx_mtop_t *mtop);
diff --git a/src/gromacs/mdlib/nbnxn_grid.h b/src/gromacs/mdlib/nbnxn_grid.h
deleted file mode 100644 (file)
index 1ff3f5c..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * This file is part of the GROMACS molecular simulation package.
- *
- * Copyright (c) 2012,2013,2014,2015,2017,2018, by the GROMACS development team, led by
- * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
- * and including many others, as listed in the AUTHORS file in the
- * top-level source directory and at http://www.gromacs.org.
- *
- * GROMACS is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1
- * of the License, or (at your option) any later version.
- *
- * GROMACS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with GROMACS; if not, see
- * http://www.gnu.org/licenses, or write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
- *
- * If you want to redistribute modifications to GROMACS, please
- * consider that scientific software is very special. Version
- * control is crucial - bugs must be traceable. We will be happy to
- * consider code for inclusion in the official distribution, but
- * derived work must not be called official GROMACS. Details are found
- * in the README & COPYING files - if they are missing, get the
- * official version at http://www.gromacs.org.
- *
- * To help us fund GROMACS development, we humbly ask that you cite
- * the research papers on the package. Check out http://www.gromacs.org.
- */
-
-#ifndef _nbnxn_grid_h
-#define _nbnxn_grid_h
-
-#include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_internal.h"
-#include "gromacs/utility/arrayref.h"
-#include "gromacs/utility/real.h"
-
-struct gmx_domdec_zones_t;
-namespace gmx
-{
-class UpdateGroupsCog;
-}
-
-/* Put the atoms on the pair search grid.
- * Only atoms atomStart to atomEnd in x are put on the grid.
- * The atom_density is used to determine the grid size.
- * When atomDensity<=0, the density is determined from atomEnd-atomStart and the corners.
- * With domain decomposition part of the n particles might have migrated,
- * but have not been removed yet. This count is given by nmoved.
- * When move[i] < 0 particle i has migrated and will not be put on the grid.
- * Without domain decomposition move will be NULL.
- */
-void nbnxn_put_on_grid(nbnxn_search_t                  nbs,
-                       int                             ePBC,
-                       const matrix                    box,
-                       int                             ddZone,
-                       const rvec                      lowerCorner,
-                       const rvec                      upperCorner,
-                       const gmx::UpdateGroupsCog     *updateGroupsCog,
-                       int                             atomStart,
-                       int                             atomEnd,
-                       real                            atomDensity,
-                       const int                      *atinfo,
-                       gmx::ArrayRef<const gmx::RVec>  x,
-                       int                             numAtomsMoved,
-                       const int                      *move,
-                       int                             nb_kernel_type,
-                       nbnxn_atomdata_t               *nbat);
-
-/* As nbnxn_put_on_grid, but for the non-local atoms
- * with domain decomposition. Should be called after calling
- * nbnxn_search_put_on_grid for the local atoms / home zone.
- */
-void nbnxn_put_on_grid_nonlocal(nbnxn_search_t                   nbs,
-                                const struct gmx_domdec_zones_t *zones,
-                                const int                       *atinfo,
-                                gmx::ArrayRef<const gmx::RVec>   x,
-                                int                              nb_kernel_type,
-                                nbnxn_atomdata_t                *nbat);
-
-/* Return the number of x and y cells in the local grid */
-void nbnxn_get_ncells(nbnxn_search_t nbs, int *ncx, int *ncy);
-
-/* Return the order indices of the atoms on the pairlist search grid */
-gmx::ArrayRef<const int> nbnxn_get_atomorder(const nbnxn_search* nbs);
-
-/* Renumber the atom indices on the grid to consecutive order */
-void nbnxn_set_atomorder(nbnxn_search_t nbs);
-
-/* Return the index position of the atoms on the pairlist search grid */
-gmx::ArrayRef<const int> nbnxn_get_gridindices(const nbnxn_search* nbs);
-
-#endif
diff --git a/src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h b/src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h
deleted file mode 100644 (file)
index 2d7c1be..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-/*
- * This file is part of the GROMACS molecular simulation package.
- *
- * Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
- * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
- * and including many others, as listed in the AUTHORS file in the
- * top-level source directory and at http://www.gromacs.org.
- *
- * GROMACS is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1
- * of the License, or (at your option) any later version.
- *
- * GROMACS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with GROMACS; if not, see
- * http://www.gnu.org/licenses, or write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
- *
- * If you want to redistribute modifications to GROMACS, please
- * consider that scientific software is very special. Version
- * control is crucial - bugs must be traceable. We will be happy to
- * consider code for inclusion in the official distribution, but
- * derived work must not be called official GROMACS. Details are found
- * in the README & COPYING files - if they are missing, get the
- * official version at http://www.gromacs.org.
- *
- * To help us fund GROMACS development, we humbly ask that you cite
- * the research papers on the package. Check out http://www.gromacs.org.
- */
-/*
- * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
- */
-
-
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
-
-/* Declare all the different kernel functions.
- */
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn;
-
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn;
-
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJ_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJ_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn;
-
-
-
-#ifdef INCLUDE_KERNELFUNCTION_TABLES
-
-/* Declare and define the kernel function pointer lookup tables.
- * The minor index of the array goes over both the LJ combination rules,
- * which is only supported by plain cut-off, and the LJ switch/PME functions.
- */
-static p_nbk_func_noener nbnxn_kernel_noener_simd_2xnn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJ_F_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJ_F_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn,
-    },
-};
-
-static p_nbk_func_ener nbnxn_kernel_ener_simd_2xnn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn,
-    },
-};
-
-static p_nbk_func_ener nbnxn_kernel_energrp_simd_2xnn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn,
-    },
-};
-
-
-#endif /* INCLUDE_KERNELFUNCTION_TABLES */
diff --git a/src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h b/src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h
deleted file mode 100644 (file)
index 78c9eea..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-/*
- * This file is part of the GROMACS molecular simulation package.
- *
- * Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
- * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
- * and including many others, as listed in the AUTHORS file in the
- * top-level source directory and at http://www.gromacs.org.
- *
- * GROMACS is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1
- * of the License, or (at your option) any later version.
- *
- * GROMACS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with GROMACS; if not, see
- * http://www.gnu.org/licenses, or write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
- *
- * If you want to redistribute modifications to GROMACS, please
- * consider that scientific software is very special. Version
- * control is crucial - bugs must be traceable. We will be happy to
- * consider code for inclusion in the official distribution, but
- * derived work must not be called official GROMACS. Details are found
- * in the README & COPYING files - if they are missing, get the
- * official version at http://www.gromacs.org.
- *
- * To help us fund GROMACS development, we humbly ask that you cite
- * the research papers on the package. Check out http://www.gromacs.org.
- */
-/*
- * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
- */
-
-
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
-
-/* Declare all the different kernel functions.
- */
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn;
-
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJ_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJ_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn;
-nbk_func_ener         nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn;
-
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJ_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJ_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn;
-nbk_func_noener       nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn;
-
-
-
-#ifdef INCLUDE_KERNELFUNCTION_TABLES
-
-/* Declare and define the kernel function pointer lookup tables.
- * The minor index of the array goes over both the LJ combination rules,
- * which is only supported by plain cut-off, and the LJ switch/PME functions.
- */
-static p_nbk_func_noener nbnxn_kernel_noener_simd_4xn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn,
-        nbnxn_kernel_ElecRF_VdwLJ_F_4xn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn,
-        nbnxn_kernel_ElecEw_VdwLJ_F_4xn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn,
-    },
-};
-
-static p_nbk_func_ener nbnxn_kernel_ener_simd_4xn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJ_VF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJ_VF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn,
-    },
-};
-
-static p_nbk_func_ener nbnxn_kernel_energrp_simd_4xn[coulktNR][vdwktNR] =
-{
-    {
-        nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn,
-        nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn,
-        nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn,
-        nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn,
-    },
-    {
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn,
-        nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn,
-    },
-};
-
-
-#endif /* INCLUDE_KERNELFUNCTION_TABLES */
index 5596dbc9e591f8f09dbd8dd1513a0e698ab86f91..961eb50b343afda1e46ae81aeb305fe81d3392c4 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #include "gromacs/math/functions.h"
 #include "gromacs/math/utilities.h"
 #include "gromacs/math/vec.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_search.h"
 #include "gromacs/mdtypes/commrec.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/topology/ifunc.h"
 #include "gromacs/topology/topology.h"
index 0e1e06993fcae38e1d52404ed45df174f539f9ef..5269dfde4893674487d40fb8c853738ea2d27ffb 100644 (file)
@@ -49,9 +49,9 @@
 #include "gromacs/ewald/pme_load_balancing.h"
 #include "gromacs/gmxlib/nrnb.h"
 #include "gromacs/gpu_utils/gpu_utils.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
 #include "gromacs/mdlib/sim_util.h"
 #include "gromacs/mdtypes/commrec.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
 #include "gromacs/timing/walltime_accounting.h"
 #include "gromacs/utility/cstringutil.h"
 #include "gromacs/utility/fatalerror.h"
index 4b624481469db67014899518189d8d096edcbee3..842b69cb9dba02b6ab89287c7f7e649852ded7d9 100644 (file)
@@ -49,6 +49,7 @@
 
 #include "gromacs/awh/awh.h"
 #include "gromacs/domdec/dlbtiming.h"
+#include "gromacs/domdec/domdec.h"
 #include "gromacs/domdec/domdec_struct.h"
 #include "gromacs/domdec/partition.h"
 #include "gromacs/essentialdynamics/edsam.h"
 #include "gromacs/mdlib/forcerec.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
 #include "gromacs/mdlib/mdrun.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_atomdata.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_grid.h"
-#include "gromacs/mdlib/nbnxn_search.h"
 #include "gromacs/mdlib/ppforceworkload.h"
 #include "gromacs/mdlib/qmmm.h"
 #include "gromacs/mdlib/update.h"
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.h"
 #include "gromacs/mdtypes/commrec.h"
 #include "gromacs/mdtypes/enerdata.h"
 #include "gromacs/mdtypes/forceoutput.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/atomdata.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/prunekerneldispatch.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_gpu_ref.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/pbcutil/mshift.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/utility/strconvert.h"
 #include "gromacs/utility/sysinfo.h"
 
-#include "nbnxn_gpu.h"
-#include "nbnxn_kernels/nbnxn_kernel_cpu.h"
-#include "nbnxn_kernels/nbnxn_kernel_prune.h"
-
 // TODO: this environment variable allows us to verify before release
 // that on less common architectures the total cost of polling is not larger than
 // a blocking wait (so polling does not introduce overhead when the static
index cc93811fcddc40c71234200c582579009a4f7a01..3139bbdd117a5a3f94220667e8b3fe5676172a11 100644 (file)
@@ -86,8 +86,6 @@
 #include "gromacs/mdlib/mdrun.h"
 #include "gromacs/mdlib/mdsetup.h"
 #include "gromacs/mdlib/membed.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
 #include "gromacs/mdlib/ns.h"
 #include "gromacs/mdlib/resethandler.h"
 #include "gromacs/mdlib/shellfc.h"
 #include "gromacs/mdtypes/observableshistory.h"
 #include "gromacs/mdtypes/pullhistory.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/mshift.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/pulling/output.h"
index 56c3e261da47296885a664ec5e464954204ed4dd..e221640482ba286a419a1edf115ebdd3d5b494e4 100644 (file)
@@ -85,8 +85,6 @@
 #include "gromacs/mdlib/mdrun.h"
 #include "gromacs/mdlib/mdsetup.h"
 #include "gromacs/mdlib/membed.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
 #include "gromacs/mdlib/ns.h"
 #include "gromacs/mdlib/resethandler.h"
 #include "gromacs/mdlib/shellfc.h"
index e964fc080b62157b4848be54d2031e553efeb51a..a6f30f0e748b6701af35879af75577e6e0c7905f 100644 (file)
@@ -86,8 +86,6 @@
 #include "gromacs/mdlib/mdrun.h"
 #include "gromacs/mdlib/mdsetup.h"
 #include "gromacs/mdlib/membed.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
 #include "gromacs/mdlib/ns.h"
 #include "gromacs/mdlib/resethandler.h"
 #include "gromacs/mdlib/shellfc.h"
index 5f43ba871934a0fc0a23f53d3bc0f026b44bed18..3ad53c99eb748531538f3fdc9a4a683e8d99136e 100644 (file)
 #include "gromacs/mdlib/mdatoms.h"
 #include "gromacs/mdlib/mdrun.h"
 #include "gromacs/mdlib/membed.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_search.h"
-#include "gromacs/mdlib/nbnxn_tuning.h"
 #include "gromacs/mdlib/ppforceworkload.h"
 #include "gromacs/mdlib/qmmm.h"
 #include "gromacs/mdlib/sighandler.h"
 #include "gromacs/mdtypes/md_enums.h"
 #include "gromacs/mdtypes/observableshistory.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/pairlist_tuning.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/pulling/output.h"
 #include "gromacs/pulling/pull.h"
diff --git a/src/gromacs/nbnxm/CMakeLists.txt b/src/gromacs/nbnxm/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3c54e10
--- /dev/null
@@ -0,0 +1,46 @@
+#
+# This file is part of the GROMACS molecular simulation package.
+#
+# Copyright (c) 2019, by the GROMACS development team, led by
+# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+# and including many others, as listed in the AUTHORS file in the
+# top-level source directory and at http://www.gromacs.org.
+#
+# GROMACS is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# as published by the Free Software Foundation; either version 2.1
+# of the License, or (at your option) any later version.
+#
+# GROMACS is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with GROMACS; if not, see
+# http://www.gnu.org/licenses, or write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+#
+# If you want to redistribute modifications to GROMACS, please
+# consider that scientific software is very special. Version
+# control is crucial - bugs must be traceable. We will be happy to
+# consider code for inclusion in the official distribution, but
+# derived work must not be called official GROMACS. Details are found
+# in the README & COPYING files - if they are missing, get the
+# official version at http://www.gromacs.org.
+#
+# To help us fund GROMACS development, we humbly ask that you cite
+# the research papers on the package. Check out http://www.gromacs.org.
+
+file(GLOB NBNXM_SOURCES kernels_reference/*.cpp kernels_simd_4xm/*.cpp kernels_simd_2xmm/*.cpp *.cpp)
+
+if(GMX_USE_CUDA)
+    add_subdirectory(cuda)
+endif()
+
+if(GMX_USE_OPENCL)
+    add_subdirectory(opencl)
+    set(NBNXM_OPENCL_KERNELS ${NBNXM_OPENCL_KERNELS} PARENT_SCOPE)
+endif()
+
+set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${NBNXM_SOURCES} PARENT_SCOPE)
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_atomdata.cpp
rename to src/gromacs/nbnxm/atomdata.cpp
index d5076d967ee7b3a9523e9826a1c3f00db58d6af6..32bc76379b9e47b544c83f482752a9551588ae7f 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "gmxpre.h"
 
-#include "nbnxn_atomdata.h"
+#include "atomdata.h"
 
 #include <cassert>
 #include <cmath>
 #include "gromacs/math/utilities.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_internal.h"
-#include "gromacs/mdlib/nbnxn_search.h"
-#include "gromacs/mdlib/nbnxn_util.h"
 #include "gromacs/mdtypes/forcerec.h" // only for GET_CGINFO_*
 #include "gromacs/mdtypes/mdatom.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_geometry.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/timing/wallcycle.h"
@@ -68,6 +65,8 @@
 #include "gromacs/utility/strconvert.h"
 #include "gromacs/utility/stringutil.h"
 
+#include "internal.h"
+
 using namespace gmx; // TODO: Remove when this file is moved into gmx namespace
 
 
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_atomdata.h
rename to src/gromacs/nbnxm/atomdata.h
index 09c1042efa3b96486f3f9c3908ecb6485eaa354c..ebfeee5bfbb35ba376505d401e48b61f2db74feb 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _nbnxn_atomdata_h
-#define _nbnxn_atomdata_h
+#ifndef GMX_NBNXN_ATOMDATA_H
+#define GMX_NBNXN_ATOMDATA_H
 
 #include <cstdio>
 
 #include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
 #include "gromacs/utility/basedefinitions.h"
 #include "gromacs/utility/real.h"
 
@@ -48,6 +47,8 @@ namespace gmx
 class MDLogger;
 }
 
+struct nbnxn_atomdata_t;
+struct nbnxn_search;
 struct t_mdatoms;
 struct gmx_wallcycle;
 
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_consts.h
rename to src/gromacs/nbnxm/constants.h
index c2475e826f322894d6022f6ea8adbc0e41947308..cb547c525ae9cd1ed55789fc349cf9e9154b5eb5 100644 (file)
@@ -33,8 +33,8 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _nbnxn_consts_h
-#define _nbnxn_consts_h
+#ifndef GMX_NBNXN_CONSTANTS_H
+#define GMX_NBNXN_CONSTANTS_H
 
 // Lower limit for square interaction distances in nonbonded kernels.
 // For smaller values we will overflow when calculating r^-1 or r^-12, but
similarity index 74%
rename from src/gromacs/mdlib/nbnxn_cuda/CMakeLists.txt
rename to src/gromacs/nbnxm/cuda/CMakeLists.txt
index 4d45ce553b0a0eb97ee8c41e4a9e7ad1df4eae46..73d1d7559095974e46eec76b928ce213b25ae19b 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+# Copyright (c) 2012,2013,2014,2015,2016,2017,2019, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
 
 if(GMX_USE_CUDA)
     if(NOT GMX_CUDA_NB_SINGLE_COMPILATION_UNIT)
-        set(NBNXN_CUDA_KERNEL_SOURCES
-                nbnxn_cuda_kernel_F_noprune.cu
-                nbnxn_cuda_kernel_F_prune.cu
-                nbnxn_cuda_kernel_VF_noprune.cu
-                nbnxn_cuda_kernel_VF_prune.cu
-                nbnxn_cuda_kernel_pruneonly.cu)
+        set(NBNXM_CUDA_KERNEL_SOURCES
+                nbnxm_cuda_kernel_F_noprune.cu
+                nbnxm_cuda_kernel_F_prune.cu
+                nbnxm_cuda_kernel_VF_noprune.cu
+                nbnxm_cuda_kernel_VF_prune.cu
+                nbnxm_cuda_kernel_pruneonly.cu)
     endif()
 
-    file(GLOB NBNXN_CUDA_SOURCES
-         nbnxn_cuda.cu
-         nbnxn_cuda_data_mgmt.cu
-         nbnxn_cuda_jit_support.cu
-         ${NBNXN_CUDA_KERNEL_SOURCES})
-    set(MDLIB_SOURCES ${MDLIB_SOURCES} ${NBNXN_CUDA_SOURCES} PARENT_SCOPE)
+    file(GLOB NBNXM_CUDA_SOURCES
+         nbnxm_cuda.cu
+         nbnxm_cuda_data_mgmt.cu
+         nbnxm_cuda_jit_support.cu
+         ${NBNXM_CUDA_KERNEL_SOURCES})
+    set(NBNXM_SOURCES ${NBNXM_SOURCES} ${NBNXM_CUDA_SOURCES} PARENT_SCOPE)
 endif()
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
index 7a78dda1097b29ce66909b46563004edd9c07d05..15eb634f282bebc59839101b3b8ba46f5a259afb 100644 (file)
 #include <assert.h>
 #include <stdlib.h>
 
-#include "gromacs/mdlib/nbnxn_gpu.h"
+#include "gromacs/nbnxm/nbnxm_gpu.h"
 
 #if defined(_MSVC)
 #include <limits>
 #endif
 
 
-#include "nbnxn_cuda.h"
+#include "nbnxm_cuda.h"
 
 #include "gromacs/gpu_utils/cudautils.cuh"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_common.h"
-#include "gromacs/mdlib/nbnxn_gpu_common_utils.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/gpu_common.h"
+#include "gromacs/nbnxm/gpu_common_utils.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/timing/gpu_timing.h"
 #include "gromacs/utility/cstringutil.h"
 #include "gromacs/utility/gmxassert.h"
 
-#include "nbnxn_cuda_types.h"
-
+#include "nbnxm_cuda_types.h"
 
 /***** The kernel declarations/definitions come here *****/
 
  */
 #define FUNCTION_DECLARATION_ONLY
 /** Force only **/
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 /** Force & energy **/
 #define CALC_ENERGIES
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef CALC_ENERGIES
 
 /*** Pair-list pruning kernels ***/
 /** Force only **/
 #define PRUNE_NBL
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 /** Force & energy **/
 #define CALC_ENERGIES
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef CALC_ENERGIES
 #undef PRUNE_NBL
 
 /* Prune-only kernels */
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cuh"
 #undef FUNCTION_DECLARATION_ONLY
 
 /* Now generate the function definitions if we are using a single compilation unit. */
 #if GMX_CUDA_NB_SINGLE_COMPILATION_UNIT
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_noprune.cu"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_prune.cu"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_noprune.cu"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_prune.cu"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cu"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_noprune.cu"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_prune.cu"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_noprune.cu"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_prune.cu"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cu"
 #endif /* GMX_CUDA_NB_SINGLE_COMPILATION_UNIT */
 
 
similarity index 96%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.h
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda.h
index e2badb3283b980a94583755b16978f445321c70c..f732da87d7586114d880c02b769207efa1b12b59 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
index d91efb1e7721b46f9a8c86fb96195724c16cb115..537098d479882ddd5213d7583975897560a5001f 100644 (file)
 #include "gromacs/hardware/gpu_hw_info.h"
 #include "gromacs/math/vectypes.h"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/timing/gpu_timing.h"
 #include "gromacs/utility/basedefinitions.h"
@@ -63,8 +62,8 @@
 #include "gromacs/utility/real.h"
 #include "gromacs/utility/smalloc.h"
 
-#include "nbnxn_cuda.h"
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda.h"
+#include "nbnxm_cuda_types.h"
 
 /* This is a heuristically determined parameter for the Kepler
  * and Maxwell architectures for the minimum size of ci lists by multiplying
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh
index a1c85b7f532801aeb1722420725726fac08afc08..b825e2221b5c241ac3464de09cd9fd6babe42a73 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -42,7 +42,7 @@
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
  *  \author Berk Hess <hess@kth.se>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
 #include "gromacs/gpu_utils/cuda_arch_utils.cuh"
similarity index 85%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_noprune.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_noprune.cu
index 9a92dae2680fbd04edb2c273fa751695d9004711..1e17c44a053b860476930e3fdf7a0d6e5c44c0e6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #include "gmxpre.h"
 
 #include "gromacs/gpu_utils/cudautils.cuh"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
 /* Top-level kernel generation: will generate through multiple
  * inclusion the following flavors for all kernel:
  * force-only output without pair list pruning;
  */
 #define FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
similarity index 85%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_F_prune.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_F_prune.cu
index d2cfd3a3e6c6cab32ef234c86c8f1357b8f4e375..dde88087ff2e34ab19a8ca7ba7519fe891f6df43 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #include "gmxpre.h"
 
 #include "gromacs/gpu_utils/cudautils.cuh"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
 /* Top-level kernel generation: will generate through multiple
  * inclusion the following flavors for all kernel:
@@ -46,7 +45,7 @@
  */
 #define PRUNE_NBL
 #define FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef PRUNE_NBL
similarity index 85%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_noprune.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_noprune.cu
index ac0f9bef593dfab3f09fc7703a9e3b3896c812c1..c6dd13c49abd9bd9b7da8077cbb0d7a48080ec1f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #include "gmxpre.h"
 
 #include "gromacs/gpu_utils/cudautils.cuh"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
 /* Top-level kernel generation: will generate through multiple
  * inclusion the following flavors for all kernel:
@@ -46,7 +45,7 @@
  */
 #define CALC_ENERGIES
 #define FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef CALC_ENERGIES
similarity index 86%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_VF_prune.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_VF_prune.cu
index cccf3c13927b0b603b823984ffedbf0002a83a30..20e8fedfa02e1abcbf21ecb1b2822a62d6862b41 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 #include "gmxpre.h"
 
 #include "gromacs/gpu_utils/cudautils.cuh"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
 /* Top-level kernel generation: will generate through multiple
  * inclusion the following flavors for all kernel:
@@ -47,8 +46,8 @@
 #define PRUNE_NBL
 #define CALC_ENERGIES
 #define FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef FUNCTION_DECLARATION_ONLY
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh"
 #undef CALC_ENERGIES
 #undef PRUNE_NBL
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cu
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cu
index 27520ff55797be0ef61cbed7dc7e24b599f01171..db718b20538496c551e77d5783b96a5782f7fa6e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -34,7 +34,7 @@
  */
 #include "gmxpre.h"
 
-#include "nbnxn_cuda_kernel_pruneonly.cuh"
+#include "nbnxm_cuda_kernel_pruneonly.cuh"
 
 #ifndef FUNCTION_DECLARATION_ONLY
 /* Instantiate external template functions */
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_pruneonly.cuh
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_pruneonly.cuh
index d2d1ebb8083cf2a3f9b66190d0a6afca7d018f14..1993a4c181ee8e4e63334ee2c5e94683f3e17091 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
  *  \author Berk Hess <hess@kth.se>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 #include "gmxpre.h"
 
 #include "gromacs/gpu_utils/cuda_arch_utils.cuh"
 #include "gromacs/math/utilities.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh"
 #include "gromacs/pbcutil/ishift.h"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
 /* Note that floating-point constants in CUDA code should be suffixed
  * with f (e.g. 0.5f), to stop the compiler producing intermediate
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel_utils.cuh
index e9809c8c0d2acc43e437eb1e2fea33dbfec1adbb..34b932394b97f81c62fa1710c6529d8729c7902a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -40,7 +40,7 @@
  *  kernels are included (has to be preceded by nbnxn_cuda_types.h).
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 #include <assert.h>
 
 #include "gromacs/gpu_utils/cuda_kernel_utils.cuh"
 #include "gromacs/gpu_utils/vectype_ops.cuh"
 
-#include "nbnxn_cuda_types.h"
+#include "nbnxm_cuda_types.h"
 
-#ifndef NBNXN_CUDA_KERNEL_UTILS_CUH
-#define NBNXN_CUDA_KERNEL_UTILS_CUH
+#ifndef NBNXM_CUDA_KERNEL_UTILS_CUH
+#define NBNXM_CUDA_KERNEL_UTILS_CUH
 
 /*! \brief Log of the i and j cluster size.
  *  change this together with c_clSize !*/
similarity index 80%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernels.cuh
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_kernels.cuh
index 16977d73d2540e5bf3db4c179f90e6957b5778ae..323e6a671fbfb8f72bdca641bea89cadcf51b8d9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -49,7 +49,7 @@
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
  *  \author Berk Hess <hess@kth.se>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
 /* Analytical plain cut-off electrostatics kernels
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJ ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJFsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJPsw ## __VA_ARGS__
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
+#include "gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_types.h
rename to src/gromacs/nbnxm/cuda/nbnxm_cuda_types.h
index 24185982e1226d43be5103b467c7034aded6a334..3d490c395a9cc3665be18380830918645b6ccda8 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2012, The GROMACS development team.
- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *  Data types used internally in the nbnxn_cuda module.
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
-#ifndef NBNXN_CUDA_TYPES_H
-#define NBNXN_CUDA_TYPES_H
+#ifndef NBNXM_CUDA_TYPES_H
+#define NBNXM_CUDA_TYPES_H
 
 #include "gromacs/gpu_utils/cuda_arch_utils.cuh"
 #include "gromacs/gpu_utils/cudautils.cuh"
 #include "gromacs/gpu_utils/devicebuffer.h"
 #include "gromacs/gpu_utils/gputraits.cuh"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_gpu_types_common.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/gpu_types_common.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/timing/gpu_timing.h"
 
-
 /*! \brief Macro definining default for the prune kernel's j4 processing concurrency.
  *
  *  The GMX_NBNXN_PRUNE_KERNEL_J4_CONCURRENCY macro allows compile-time override.
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_gpu_common.h
rename to src/gromacs/nbnxm/gpu_common.h
index c8726c9716e67e64d4af2db2ba0fc887f21a2846..cd64c8ca1a8b31761c3e89e61dc3e2afe68bbdc8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *
  * \author Szilard Pall <pall.szilard@gmail.com>
  *
- * \ingroup module_mdlib
+ * \ingroup module_nbnxm
  */
 
-#ifndef GMX_MDLIB_NBNXN_GPU_COMMON_H
-#define GMX_MDLIB_NBNXN_GPU_COMMON_H
+#ifndef GMX_NBNXM_GPU_COMMON_H
+#define GMX_NBNXM_GPU_COMMON_H
 
 #include "config.h"
 
 #include <string>
 
 #if GMX_GPU == GMX_GPU_CUDA
-#include "nbnxn_cuda/nbnxn_cuda_types.h"
+#include "cuda/nbnxm_cuda_types.h"
 #endif
 
 #if GMX_GPU == GMX_GPU_OPENCL
-#include "nbnxn_ocl/nbnxn_ocl_types.h"
+#include "opencl/nbnxm_ocl_types.h"
 #endif
 
 #include "gromacs/gpu_utils/gpu_utils.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_gpu_types.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/timing/gpu_timing.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/stringutil.h"
 
-#include "nbnxn_gpu_common_utils.h"
+#include "gpu_common_utils.h"
+#include "nbnxm_gpu.h"
 
 /*! \brief Check that atom locality values are valid for the GPU module.
  *
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_gpu_common_utils.h
rename to src/gromacs/nbnxm/gpu_common_utils.h
index f6cbe10c57b91ad6cf570b9cda51c4b193cfa0c5..40bffbb7b3b94bd0de8b157d9f9a38f995fff34b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017, by the GROMACS development team, led by
+ * Copyright (c) 2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  * \brief Implements common util routines for different NBNXN GPU implementations
  *
  * \author Aleksei Iupinov <a.yupinov@gmail.com>
- * \ingroup module_mdlib
+ * \ingroup module_nbnxm
  */
 
-#ifndef GMX_MDLIB_NBNXN_GPU_COMMON_UTILS_H
-#define GMX_MDLIB_NBNXN_GPU_COMMON_UTILS_H
+#ifndef GMX_NBNXM_GPU_COMMON_UTILS_H
+#define GMX_NBNXM_GPU_COMMON_UTILS_H
 
 #include "config.h"
 
+#include "gromacs/nbnxm/nbnxm.h"
+
 #if GMX_GPU == GMX_GPU_CUDA
-#include "nbnxn_cuda/nbnxn_cuda_types.h"
+#include "cuda/nbnxm_cuda_types.h"
 #endif
 
 #if GMX_GPU == GMX_GPU_OPENCL
-#include "nbnxn_ocl/nbnxn_ocl_types.h"
+#include "opencl/nbnxm_ocl_types.h"
 #endif
 
 /*! \brief An early return condition for empty NB GPU workloads
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_gpu_data_mgmt.h
rename to src/gromacs/nbnxm/gpu_data_mgmt.h
index 5226038469aadf992a05348105dc21fb767be6c4..94d92a77e36a697285699e1bb3180c9ab1e67585 100644 (file)
 /*! \libinternal \file
  *  \brief Declare interface for GPU data transfer for NBNXN module
  *
+ *  \author Szilard Pall <pall.szilard@gmail.com>
  *  \author Mark Abraham <mark.j.abraham@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  *  \inlibraryapi
  */
 
-#ifndef NBNXN_GPU_DATA_MGMT_H
-#define NBNXN_GPU_DATA_MGMT_H
+#ifndef GMX_NBNXN_GPU_DATA_MGMT_H
+#define GMX_NBNXN_GPU_DATA_MGMT_H
 
 #include "gromacs/gpu_utils/gpu_macros.h"
-#include "gromacs/mdlib/nbnxn_gpu_types.h"
 #include "gromacs/mdtypes/interaction_const.h"
 
+#include "gpu_types.h"
+
 struct nonbonded_verlet_group_t;
 struct NbnxnPairlistGpu;
 struct nbnxn_atomdata_t;
similarity index 91%
rename from src/gromacs/mdlib/nbnxn_gpu_jit_support.h
rename to src/gromacs/nbnxm/gpu_jit_support.h
index 1771128980e5f06dc201640b042560cf0e3b3708..64a0d08ab6f5a859656e849d9c61531bfa6dd845 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *  \author Mark Abraham <mark.j.abraham@gmail.com>
  */
 
-#ifndef GMX_MDLIB_NBNXN_GPU_JIT_SUPPORT_H
-#define GMX_MDLIB_NBNXN_GPU_JIT_SUPPORT_H
+#ifndef GMX_NBNXM_GPU_JIT_SUPPORT_H
+#define GMX_NBNXM_GPU_JIT_SUPPORT_H
 
-#include "gromacs/mdlib/nbnxn_gpu_types.h"
 #include "gromacs/utility/basedefinitions.h"
 
+#include "gpu_types.h"
+
 /*! \brief Handles any JIT compilation of nbnxn kernels for the selected device */
 OPENCL_FUNC_QUALIFIER void
 nbnxn_gpu_compile_kernels(gmx_nbnxn_gpu_t gmx_unused *nb) OPENCL_FUNC_TERM
similarity index 86%
rename from src/gromacs/mdlib/nbnxn_gpu_types.h
rename to src/gromacs/nbnxm/gpu_types.h
index 7fd43ef70d41ec8d33cc42d6b1a146b5a5e83697..a18ca0b56f9f3fc07a31da5516da303db3138ccd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
+/*! \libinternal \file
+ * \brief Sets gmx_nbnxn_gpu_t to the correct type depending on the build
+ *
+ * \ingroup module_nbnxm
+ */
 
-#ifndef GMX_MDLIB_NBNXN_GPU_TYPES_H
-#define GMX_MDLIB_NBNXN_GPU_TYPES_H
+#ifndef GMX_NBNXN_GPU_TYPES_H
+#define GMX_NBNXN_GPU_TYPES_H
 
 #include "config.h"
 
+#ifndef DOXYGEN
+
 #if GMX_GPU == GMX_GPU_OPENCL
 struct gmx_nbnxn_ocl_t;
 typedef struct gmx_nbnxn_ocl_t gmx_nbnxn_gpu_t;
@@ -52,4 +59,6 @@ typedef struct gmx_nbnxn_cuda_t gmx_nbnxn_gpu_t;
 typedef int gmx_nbnxn_gpu_t;
 #endif
 
+#endif // !DOXYGEN
+
 #endif
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_gpu_types_common.h
rename to src/gromacs/nbnxm/gpu_types_common.h
index ab836f843797e223d2fcf530f655408347869646..78893704bb200ea552a567e22bd96a2864455679 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -36,7 +36,7 @@
  * \brief Implements common internal types for different NBNXN GPU implementations
  *
  * \author Szilárd Páll <pall.szilard@gmail.com>
- * \ingroup module_mdlib
+ * \ingroup module_nbnxm
  */
 
 #ifndef GMX_MDLIB_NBNXN_GPU_COMMON_TYPES_H
@@ -44,7 +44,7 @@
 
 #include "config.h"
 
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/pairlist.h"
 
 #if GMX_GPU == GMX_GPU_OPENCL
 #include "gromacs/gpu_utils/gpuregiontimer_ocl.h"
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_grid.cpp
rename to src/gromacs/nbnxm/grid.cpp
index a0b587523c68f039b6076913afb86a9eed93963e..0bc41c0f2402016f36e88fdf5dc03942b4f26080 100644 (file)
@@ -35,8 +35,6 @@
 
 #include "gmxpre.h"
 
-#include "nbnxn_grid.h"
-
 #include <cmath>
 #include <cstring>
 
 #include "gromacs/math/utilities.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_atomdata.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_internal.h"
-#include "gromacs/mdlib/nbnxn_search.h"
-#include "gromacs/mdlib/nbnxn_util.h"
 #include "gromacs/mdlib/updategroupscog.h"
 #include "gromacs/mdtypes/forcerec.h" // only for GET_CGINFO_*
+#include "gromacs/nbnxm/atomdata.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_geometry.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/simd/vector_operations.h"
 #include "gromacs/utility/exceptions.h"
 #include "gromacs/utility/smalloc.h"
 
+#include "internal.h"
+
 struct gmx_domdec_zones_t;
 
 static real grid_atom_density(int        numAtoms,
similarity index 96%
rename from src/gromacs/mdlib/nbnxn_internal.h
rename to src/gromacs/nbnxm/internal.h
index 7ea0ef061de7c89e9bda8e249058a3b34c622b92..e00e52eab8d1e3f29c1b841fd53a5f68dd357b7f 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _nbnxn_internal_h
-#define _nbnxn_internal_h
+/*! \internal \file
+ *
+ * \brief Declares internal nbnxm module details
+ *
+ * \author Berk Hess <hess@kth.se>
+ *
+ * \ingroup module_nbnxm
+ */
+
+#ifndef GMX_NBNXM_INTERNAL_H
+#define GMX_NBNXM_INTERNAL_H
 
 #include <memory>
 #include <vector>
 
 #include "gromacs/domdec/domdec.h"
 #include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/timing/cyclecounter.h"
 #include "gromacs/utility/alignedallocator.h"
@@ -51,6 +60,9 @@
 struct gmx_domdec_zones_t;
 
 
+// TODO Document after refactoring
+#ifndef DOXYGEN
+
 /* Strides for x/f with xyz and xyzq coordinate (and charge) storage */
 #define STRIDE_XYZ         3
 #define STRIDE_XYZQ        4
@@ -133,7 +145,10 @@ template<int packSize> static inline int atom_to_x_index(int a)
 
 #endif /* NBNXN_SEARCH_BB_SIMD4 */
 
+#endif // !DOXYGEN
 
+
+/*! \brief Convenience declaration for an std::vector with aligned memory */
 template <class T>
 using AlignedVector = std::vector < T, gmx::AlignedAllocator < T>>;
 
@@ -367,16 +382,17 @@ struct nbnxn_search
 };
 
 
+/*! \brief Start an nbnxn cycle counter */
 static inline void nbs_cycle_start(nbnxn_cycle_t *cc)
 {
     cc->start = gmx_cycles_read();
 }
 
+/*! \brief Stop an nbnxn cycle counter */
 static inline void nbs_cycle_stop(nbnxn_cycle_t *cc)
 {
     cc->c += gmx_cycles_read() - cc->start;
     cc->count++;
 }
 
-
 #endif
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.cpp
rename to src/gromacs/nbnxm/kernel_common.cpp
index b4a3f1327fcabd45e3def92d72e9cb9a140e4749..5f2442b7749af8959905508acea260696a9483c0 100644 (file)
@@ -34,7 +34,7 @@
  */
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_common.h"
+#include "kernel_common.h"
 
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/utility/gmxassert.h"
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h
rename to src/gromacs/nbnxm/kernel_common.h
index 430ff644d559fa546c1bd025460ebb33ce57328b..035457f250f131475440b63eeb2cf41b1eccf5dd 100644 (file)
 /*! \internal \file
  *
  * \brief
- * Declares the nbnxn pair interaction kernel function types and kind counts, also declares utility functions used in nbnxn_kernel.cpp.
+ * Declares the nbnxm pair interaction kernel function types and kind counts, also declares utility functions used in nbnxm_kernel.cpp.
  *
  * \author Berk Hess <hess@kth.se>
  */
 
-#ifndef _nbnxn_kernel_common_h
-#define _nbnxn_kernel_common_h
+#ifndef GMX_NBXNM_KERNEL_COMMON_H
+#define GMX_NBXNM_KERNEL_COMMON_H
 
 #include "gromacs/math/vectypes.h"
 /* nbnxn_atomdata_t and nbnxn_pairlist_t could be forward declared, but that requires modifications in all SIMD kernel files */
-#include "gromacs/mdlib/nbnxn_atomdata.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/atomdata.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/real.h"
 
 struct interaction_const_t;
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_4xn_kernel.cpp.pre
rename to src/gromacs/nbnxm/kernel_file_generator/kernel_simd_2xmm_kernel.cpp.pre
index 96c1e825e89ceaed44cc8d9b22390be5e6b9e968..69078659f0736e8881ca9389fb42e3016e53c9f5 100644 (file)
@@ -40,8 +40,8 @@
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE {7}
 #include "{4}"
@@ -51,7 +51,7 @@
 {3}
 
 #ifdef {0}
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* {0} */
 
 #ifdef CALC_ENERGIES
@@ -74,7 +74,7 @@ void
 {6}real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef {0}
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* {0} */
 {{
 /* No need to call gmx_incons() here, because the only function
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_2xnn_kernel.cpp.pre
rename to src/gromacs/nbnxm/kernel_file_generator/kernel_simd_4xm_kernel.cpp.pre
index 2786209a147ab14bd177a741148af6e2aaaea2de..d634ad4e58813ee023e0aa0625821784af75cfa9 100644 (file)
@@ -40,8 +40,8 @@
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE {7}
 #include "{4}"
@@ -51,7 +51,7 @@
 {3}
 
 #ifdef {0}
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* {0} */
 
 #ifdef CALC_ENERGIES
@@ -74,7 +74,7 @@ void
 {6}real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef {0}
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* {0} */
 {{
 /* No need to call gmx_incons() here, because the only function
similarity index 85%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/nbnxn_kernel_simd_template.h.pre
rename to src/gromacs/nbnxm/kernel_file_generator/kernel_simd_template.h.pre
index eab6de081bc4c21361ab4b9c5ac32c35c6acb5f6..b758ccd0d396f5d61f64f085f64f30d6926c811c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -33,7 +33,7 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
+#include "gromacs/nbnxm/kernel_common.h"
 
 /* Declare all the different kernel functions.
  */
  * The minor index of the array goes over both the LJ combination rules,
  * which is only supported by plain cut-off, and the LJ switch/PME functions.
  */
-p_nbk_func_noener nbnxn_kernel_noener_simd_{1}[coulktNR][vdwktNR] =
+p_nbk_func_noener nbnxm_kernel_noener_simd_{1}[coulktNR][vdwktNR] =
 {2}
-p_nbk_func_ener nbnxn_kernel_ener_simd_{1}[coulktNR][vdwktNR] =
+p_nbk_func_ener nbnxm_kernel_ener_simd_{1}[coulktNR][vdwktNR] =
 {3}
-p_nbk_func_ener nbnxn_kernel_energrp_simd_{1}[coulktNR][vdwktNR] =
+p_nbk_func_ener nbnxm_kernel_energrp_simd_{1}[coulktNR][vdwktNR] =
 {4}
 
 #endif /* INCLUDE_KERNELFUNCTION_TABLES */
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_file_generator/make_verlet_simd_kernel_files.py
rename to src/gromacs/nbnxm/kernel_file_generator/make_verlet_simd_kernel_files.py
index 411b5d3cac4f93ca4015ffa9d328b8f0a765b3aa..d57aa11b756e709ee4e1bbf25823fc87ef79db47 100755 (executable)
@@ -36,7 +36,7 @@
 # This script is used by the GROMACS developers to build most of the
 # files from which the nbnxn kernels are compiled. It is not called at
 # CMake time, and users should never need to use it. It currently
-# works for nbnxn kernel structure types 2xnn and 4xn. The generated
+# works for nbnxn kernel structure types 2xMM and 4xM. The generated
 # files are versions of the *.pre files in this directory, customized
 # for the kernel structure type and/or the detailed kernel type. These
 # are:
@@ -50,9 +50,9 @@
 #   parallelism.
 #
 # This script should be run from the directory in which it is
-# located. The generated files are located in ../simd_<type>. There
-# are three other files in those locations that are not generated. These
-# contain:
+# located. The generated files are located in ../kernels_simd_<type>.
+# There are three other files in those locations that are not generated.
+# These contain:
 #
 #   setup logic peculiar to the kernel structure type but common to
 #   all the kernels within that type, and
@@ -73,7 +73,7 @@ import sys
 import os
 os.chdir(os.path.dirname(os.path.abspath(__file__)))
 import collections # Requires Python 2.7
-sys.path.append('../../../../../admin')
+sys.path.append('../../../../admin')
 from copyright import create_copyright_header
 
 FileHeader = create_copyright_header('2012,2013,2014,2015,2019')
@@ -94,7 +94,7 @@ def read_kernel_template(filename):
     return TemplateText
 
 # The dict order must match the order of an enumeration in
-# nbnxn_kernel_simd_template.c.pre
+# kernel_simd_template.c.pre
 ElectrostaticsDict = collections.OrderedDict()
 ElectrostaticsDict['ElecRF'] = { 'define' : '#define CALC_COUL_RF' }
 ElectrostaticsDict['ElecQSTab'] = { 'define' : '#define CALC_COUL_TAB' }
@@ -129,7 +129,7 @@ EnergiesComputationDict = {
 
 # This is OK as an unordered dict
 VerletKernelTypeDict = {
-    '2xnn' : {
+    '2xmm' : {
         'Define' : 'GMX_NBNXN_SIMD_2XNN',
         'WidthSetup' : '/* Include the full-width SIMD macros */\n',
         'WidthCheck' : ('#if !(GMX_SIMD_REAL_WIDTH == 8 || GMX_SIMD_REAL_WIDTH == 16)\n' \
@@ -137,7 +137,7 @@ VerletKernelTypeDict = {
                         '#endif\n'),
         'UnrollSize' : 2,
     },
-    '4xn' : {
+    '4xm' : {
         'Define' : 'GMX_NBNXN_SIMD_4XN',
         'WidthSetup' : (''),
         'WidthCheck' : ('#if !(GMX_SIMD_REAL_WIDTH == 2 || GMX_SIMD_REAL_WIDTH == 4 || GMX_SIMD_REAL_WIDTH == 8)\n' \
@@ -147,21 +147,23 @@ VerletKernelTypeDict = {
     },
 }
 
-KernelsHeaderTemplate = read_kernel_template("nbnxn_kernel_simd_template.h.pre")
+KernelsHeaderTemplate = read_kernel_template("kernel_simd_template.h.pre")
 
 # For each Verlet kernel type, write two kinds of files:
 #   a header file defining the functions for all the kernels and
 #     the kernel function lookup table
 #   for each kernel, a file defining the single C function for that kernel
 for type in VerletKernelTypeDict:
-    DirName = "../simd_{0}".format(type)
-    KernelNamePrefix = 'nbnxn_kernel'
+    DirName = "../kernels_simd_{0}".format(type)
+    KernelNamePrefix = 'nbnxm_kernel'
+    KernelFileNamePrefix = 'kernel'
     KernelsName = "{0}_simd_{1}".format(KernelNamePrefix,type)
-    KernelsHeaderFileName = "{0}.h".format(KernelsName,type)
-    KernelsHeaderPathName = "gromacs/mdlib/nbnxn_kernels/simd_{0}/{1}".format(type,KernelsHeaderFileName)
+    KernelsFileName = "{0}_simd_{1}".format(KernelFileNamePrefix,type)
+    KernelsHeaderFileName = "kernels.h"
+    KernelsHeaderPathName = "gromacs/nbnxm/kernels_simd_{0}/{1}".format(type,KernelsHeaderFileName)
     KernelFunctionLookupTable = {}
     KernelDeclarations = ''
-    KernelTemplate = read_kernel_template("{0}_kernel.cpp.pre".format(KernelsName))
+    KernelTemplate = read_kernel_template("{0}_kernel.cpp.pre".format(KernelsFileName))
 
     # Loop over all kernels
     for ener in EnergiesComputationDict:
@@ -171,6 +173,8 @@ for type in VerletKernelTypeDict:
             for ljtreat in VdwTreatmentDict:
                 KernelName = ('{0}_{1}_{2}_{3}_{4}'
                               .format(KernelNamePrefix,elec,ljtreat,ener,type))
+                KernelFileName = ('{0}_{1}_{2}_{3}'
+                                  .format(KernelFileNamePrefix,elec,ljtreat,ener,type))
 
                 # Declare the kernel function
                 KernelDeclarations += ('{1:21} {0};\n'
@@ -178,7 +182,7 @@ for type in VerletKernelTypeDict:
                                                EnergiesComputationDict[ener]['function type']))
 
                 # Write the file with the kernel definition
-                with open('{0}/{1}.cpp'.format(DirName,KernelName), 'w') as kernelfp:
+                with open('{0}/{1}.cpp'.format(DirName,KernelFileName), 'w') as kernelfp:
                     kernelfp.write(FileHeader.format(type))
                     kernelfp.write(KernelTemplate
                                    .format(VerletKernelTypeDict[type]['Define'],
similarity index 95%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_cpu.cpp
rename to src/gromacs/nbnxm/kerneldispatch.cpp
index 3f47f2d0b795a9ccb72d95637a3fb8c85029ddaa..04a79159a895b240e3fcca1cad204e3ae1f23fbd 100644 (file)
 
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_cpu.h"
+#include "kerneldispatch.h"
 
 #include "gromacs/math/vectypes.h"
 #include "gromacs/mdlib/force_flags.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/utility/gmxassert.h"
 #include "gromacs/utility/real.h"
 
-#include "nbnxn_kernel_common.h"
+#include "kernel_common.h"
 #define INCLUDE_KERNELFUNCTION_TABLES
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref.h"
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 #endif
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 #endif
 #undef INCLUDE_FUNCTION_TABLES
 
@@ -254,7 +253,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
                     break;
 #ifdef GMX_NBNXN_SIMD_2XNN
                 case nbnxnk4xN_SIMD_2xNN:
-                    nbnxn_kernel_noener_simd_2xnn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_noener_simd_2xmm[coulkt][vdwkt](nbl[nb], nbat,
                                                                  ic,
                                                                  shiftVectors,
                                                                  out->f.data(),
@@ -263,7 +262,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
 #endif
 #ifdef GMX_NBNXN_SIMD_4XN
                 case nbnxnk4xN_SIMD_4xN:
-                    nbnxn_kernel_noener_simd_4xn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_noener_simd_4xm[coulkt][vdwkt](nbl[nb], nbat,
                                                                 ic,
                                                                 shiftVectors,
                                                                 out->f.data(),
@@ -293,7 +292,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
                     break;
 #ifdef GMX_NBNXN_SIMD_2XNN
                 case nbnxnk4xN_SIMD_2xNN:
-                    nbnxn_kernel_ener_simd_2xnn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_ener_simd_2xmm[coulkt][vdwkt](nbl[nb], nbat,
                                                                ic,
                                                                shiftVectors,
                                                                out->f.data(),
@@ -304,7 +303,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
 #endif
 #ifdef GMX_NBNXN_SIMD_4XN
                 case nbnxnk4xN_SIMD_4xN:
-                    nbnxn_kernel_ener_simd_4xn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_ener_simd_4xm[coulkt][vdwkt](nbl[nb], nbat,
                                                               ic,
                                                               shiftVectors,
                                                               out->f.data(),
@@ -339,7 +338,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
 #ifdef GMX_NBNXN_SIMD_2XNN
                 case nbnxnk4xN_SIMD_2xNN:
                     unrollj = GMX_SIMD_REAL_WIDTH/2;
-                    nbnxn_kernel_energrp_simd_2xnn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_energrp_simd_2xmm[coulkt][vdwkt](nbl[nb], nbat,
                                                                   ic,
                                                                   shiftVectors,
                                                                   out->f.data(),
@@ -351,7 +350,7 @@ nbnxn_kernel_cpu(nonbonded_verlet_group_t  *nbvg,
 #ifdef GMX_NBNXN_SIMD_4XN
                 case nbnxnk4xN_SIMD_4xN:
                     unrollj = GMX_SIMD_REAL_WIDTH;
-                    nbnxn_kernel_energrp_simd_4xn[coulkt][vdwkt](nbl[nb], nbat,
+                    nbnxm_kernel_energrp_simd_4xm[coulkt][vdwkt](nbl[nb], nbat,
                                                                  ic,
                                                                  shiftVectors,
                                                                  out->f.data(),
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_cpu.h
rename to src/gromacs/nbnxm/kerneldispatch.h
index 389f5e6daa7418931024948603049010db006c59..39d4bf15c430a0b436050715739a2be5a70b9993 100644 (file)
@@ -41,8 +41,8 @@
  * \author Berk Hess <hess@kth.se>
  */
 
-#ifndef _nbnxn_kernel_cpu_h
-#define _nbnxn_kernel_cpu_h
+#ifndef GMX_NBNXN_KERNEL_DISPATCH_H
+#define GMX_NBNXN_KERNEL_DISPATCH_H
 
 #include "gromacs/math/vectypes.h"
 #include "gromacs/utility/real.h"
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.cpp
rename to src/gromacs/nbnxm/kernels_reference/kernel_gpu_ref.cpp
index 43313db602f0667ab7229619de8adc5cf469c268..c68b7b2facbe0f5df29cef07d60ca9b20d3ba721 100644 (file)
@@ -34,9 +34,7 @@
  */
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_gpu_ref.h"
-
-#include "config.h"
+#include "kernel_gpu_ref.h"
 
 #include <cmath>
 
 #include "gromacs/math/utilities.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/kernel_common.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/utility/fatalerror.h"
 
-#include "nbnxn_kernel_common.h"
-
 static const int c_numClPerSupercl = c_nbnxnGpuNumClusterPerSupercluster;
 static const int c_clSize          = c_nbnxnGpuClusterSize;
 
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.h
rename to src/gromacs/nbnxm/kernels_reference/kernel_gpu_ref.h
index 7a5a1cff26f866144840a5022e53bc45948cb19c..9e744cde070e8cf489d572ae721e9471a43dade2 100644 (file)
 #define _nbnxn_kernel_gpu_ref_h
 
 #include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
 #include "gromacs/mdtypes/forcerec.h"
 #include "gromacs/utility/arrayref.h"
 #include "gromacs/utility/real.h"
 
+struct NbnxnPairlistGpu;
+struct nbnxn_atomdata_t;
+
 /* Reference (slow) kernel for nb n vs n GPU type pair lists */
 void
 nbnxn_kernel_gpu_ref(const NbnxnPairlistGpu     *nbl,
similarity index 71%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.cpp
rename to src/gromacs/nbnxm/kernels_reference/kernel_ref.cpp
index f267e71bf6b7472f8fd8368d315667dbbf6a36fb..e953f51e9e6cb3f88a3f7feb4187917e33094403 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -34,9 +34,7 @@
  */
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_ref.h"
-
-#include "config.h"
+#include "kernel_ref.h"
 
 #include <cassert>
 #include <cmath>
 #include "gromacs/math/functions.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/smalloc.h"
 
-
 /* Analytical reaction-field kernels */
 #define CALC_COUL_RF
 #define LJ_CUT
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_CUT
 #define LJ_FORCE_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_FORCE_SWITCH
 #define LJ_POT_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_POT_SWITCH
 #define LJ_EWALD
 #define LJ_CUT
 #define LJ_EWALD_COMB_GEOM
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_GEOM
 #define LJ_EWALD_COMB_LB
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_LB
 #undef LJ_CUT
 #undef LJ_EWALD
 /* Tabulated exclusion interaction electrostatics kernels */
 #define CALC_COUL_TAB
 #define LJ_CUT
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_CUT
 #define LJ_FORCE_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_FORCE_SWITCH
 #define LJ_POT_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_POT_SWITCH
 #define LJ_EWALD
 #define LJ_CUT
 #define LJ_EWALD_COMB_GEOM
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_GEOM
 #define LJ_EWALD_COMB_LB
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_LB
 #undef LJ_CUT
 #undef LJ_EWALD
 /* Twin-range cut-off kernels */
 #define VDW_CUTOFF_CHECK
 #define LJ_CUT
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_CUT
 #define LJ_FORCE_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_FORCE_SWITCH
 #define LJ_POT_SWITCH
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_POT_SWITCH
 #define LJ_EWALD
 #define LJ_CUT
 #define LJ_EWALD_COMB_GEOM
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_GEOM
 #define LJ_EWALD_COMB_LB
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_includes.h"
 #undef LJ_EWALD_COMB_LB
 #undef LJ_CUT
 #undef LJ_EWALD
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.h
rename to src/gromacs/nbnxm/kernels_reference/kernel_ref.h
index 77befc50a268c5a420b6f3e241610502e9b394b2..1fa3848da19135c97740a4b5ce4e623783bb754c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -33,7 +33,7 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#include "nbnxn_kernel_common.h"
+#include "gromacs/nbnxm/kernel_common.h"
 
 /* Declare all the different kernel functions.
  */
similarity index 88%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h
rename to src/gromacs/nbnxm/kernels_reference/kernel_ref_includes.h
index 099a9079a41eaaa22b6a9bb37019aac074534ac5..e85d399a6c94a8cf54fc0fb9ad99fc31def22bf2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  */
 
 /* Include the force only kernels */
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_outer.h"
 
 /* Include the force+energy kernels */
 #define CALC_ENERGIES
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_outer.h"
 #undef CALC_ENERGIES
 
 /* Include the force+energygroups kernels */
 #define CALC_ENERGIES
 #define ENERGY_GROUPS
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_outer.h"
 #undef ENERGY_GROUPS
 #undef CALC_ENERGIES
similarity index 96%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h
rename to src/gromacs/nbnxm/kernels_reference/kernel_ref_outer.h
index b50a45d9c0ab9ebf00e322801a91070817b2af29..a929f96bf0b58ffe16ba1ed6733376c37e72ee1c 100644 (file)
@@ -323,19 +323,19 @@ NBK_FUNC_NAME(_VgrpF) // NOLINT(misc-definitions-in-headers)
             {
 #define CALC_COULOMB
 #define HALF_LJ
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
 #undef HALF_LJ
 #undef CALC_COULOMB
             }
             else if (do_coul)
             {
 #define CALC_COULOMB
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
 #undef CALC_COULOMB
             }
             else
             {
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
             }
 #undef CHECK_EXCLS
             cjind++;
@@ -347,19 +347,19 @@ NBK_FUNC_NAME(_VgrpF) // NOLINT(misc-definitions-in-headers)
             {
 #define CALC_COULOMB
 #define HALF_LJ
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
 #undef HALF_LJ
 #undef CALC_COULOMB
             }
             else if (do_coul)
             {
 #define CALC_COULOMB
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
 #undef CALC_COULOMB
             }
             else
             {
-#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
+#include "gromacs/nbnxm/kernels_reference/kernel_ref_inner.h"
             }
         }
 
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_prune.cpp
rename to src/gromacs/nbnxm/kernels_reference/kernel_ref_prune.cpp
index 45b5eda20ae1da9c2f141e9c8184399ffed865d8..65a8a2d87b3174557c3187b352b417a6b583cf6d 100644 (file)
 
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_ref_prune.h"
+#include "kernel_ref_prune.h"
 
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/gmxassert.h"
 
-
 /* Prune a single NbnxnPairlistCpu entry with distance rlistInner */
 void
 nbnxn_kernel_prune_ref(NbnxnPairlistCpu *         nbl,
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_F.cpp
index dd1a187bced74301f08855a6def9f8f4e560ed4e..fd9e9972cfcf2072d218230827860995138be670 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_VF.cpp
index 58e2c4f9be8825653a25714fd39e4efb590a8405..29ea5963c2746810771e7b4fc3d0fd4335c636a6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF.cpp
index 29ada8ac23fdb4c53f5ddef1cde662c6b2d1193c..628eaeec75a129976c533108bf9b5fb141de7af1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_F.cpp
index 4ce8011cac7d1f4be4e995ba7f171304e517acc3..e53f36808294d3c54f1a889ed9e678ac27883a2a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_VF.cpp
index 5d653900033862cf65aa364951185a6dfc5e07e8..73ad3d5d67b3175b27dd57cb4f603ede38a01c91 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF.cpp
index 57644576a74181a4cf55282b599bf7d5834546a6..baa944f67a1c548b82ee94c0c1132f34751cba77 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_F.cpp
index cc9cf92a0e85ed6bb7ce828655d1d543b0f853dd..3b6b1beb1774852826dbc30397582681f02e72c1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF.cpp
index aa5d8d393fae94800423b75bdd1cf16d90dd6819..9a05961ff1f456ebba29e6eb1312c05ae88eeb80 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF.cpp
index c2bd06803cfd6cbe2b398d42d2c688f9349f7f13..0e1f187f92808be11e6708eca8ae8734ee0f3cfc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -75,7 +75,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -83,7 +83,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_F.cpp
index 9ed5b8d26ac80334b09134b4e3f5c9862a463819..ac5d9c8a9f997f6e6ab5da58109ab31b9d4f4f74 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_VF.cpp
index 320a6aaafb2397711b13290b623757bda2fd2801..9f2e0cb54618225497559a98626b4b346140e44f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJFSw_VgrpF.cpp
index 0a47eeff3e3a803c749e5cb76d355e5937efebc4..491b7bb6a1afdb47f8afce4427a35119ea64feb9 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_F.cpp
index 6051b500118d86e5cb9440c0a3526f166dd2dfdd..9709f8ec3e646bb406003577a80eed28977fe43d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_VF.cpp
index 2ba8f90aaa466a40d55a5b7dc536a745f602cf61..da33c79e75917495eb435d965e98002620460b52 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJPSw_VgrpF.cpp
index a98934c58ac84780c45216b28d1ee7968b79f740..b9156db0b7efbbcb3d7461f3871fd02386f45356 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_F.cpp
index 61c5c51efb42ab695494ae7bab0b14f19e799e95..269ee05b94a77c43763de0229ec4a51b8364585b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_VF.cpp
index af5d6f3367be53dfd37fdb5c0541e741e0a5ff15..4a09e730c60f9aeb1a9f8d8ba61cd28b66f4da75 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEwTwinCut_VdwLJ_VgrpF.cpp
index a851ab569c78afa97bb7ea44a896643960fb142d..15ac5808ffb461c6f66603e9ba3e28d8eaf40b34 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_F.cpp
index 2af7841e447e7b60538a9200a05d6503584a8e37..d6dff6ef166368dcae6ec217176a8e4afd517cea 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_VF.cpp
index 2bab57560bb1e551304c1d3b3daef5773604bf70..8af4c0652bcde4da2679d27f266e0873e0e1fb5b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombGeom_VgrpF.cpp
index 7e3dd8ca6a85b2aa8f8f257de3a251e7db72d694..2d0acc2facb60edca7a6c77cf01983c32b73e1f6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_F.cpp
index fe92831245eb8dd8e74f48546b6104cd61621abf..8f7b9992be4635160fc7c27c4f04e7925f3cc6aa 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_VF.cpp
index 7b52a2c50fa432495d8928eada5bbf4c32e99f32..18b8ee2b20797f5f4230fb4799a3ee11b1957206 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJCombLB_VgrpF.cpp
index cfbbd559f48896160f8f45cb3eae99ccb0b54fcd..42feb672c8c2f68d09e9c31cd8baee849b1b587a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_F.cpp
index ec72823afaa3e15f4bacbb42d3da87a51f4a453c..8ab8b19f73ef29e3540fdcc1fcbd36f09e86a552 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_VF.cpp
index ab83c5797274badb9f25d1118f5d277d302ea58d..22e386d313209f2f8d2ccd3fb4f7d9ffa0e44210 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJEwCombGeom_VgrpF.cpp
index 02f465e4e82bc014338afc7d77a7a96d537bdf38..567bd1b18d12d27d755cba66873e22290aeece99 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_F.cpp
index 43cadb5261873842b2e89b3c6b7858fb0b7ac843..ef0fbff8a5c6d64565ef95a44c3a4af02482a3ae 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_VF.cpp
index ef960e4082429bf7954e70b3917c5c3fb2bcf898..0d9098c5183af2822f1c3df5897c0e246b86e3e8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJFSw_VgrpF.cpp
index 2b23e5d08014236a7df0a901317ae308bf16123d..ae44b66b4d7131e879a6ad64873eb683cf343b88 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_F.cpp
index e08309d2a3b8070bdfa7330ee042590cd663018c..752ac9985313025cdf0701d85fe7d5ec68f2b2d8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_VF.cpp
index cb9b45ee346a14c54b15180c022e9606e78c099b..09a83547d6d95363f35f4aeb9b9277a7c67f09c5 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJPSw_VgrpF.cpp
index 204ca9f08e860de00f9196adec092db21fea65be..e53ec4cda1b4dcc34386d3e71ebbbf8dbe0adbc1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_F.cpp
index b441cc86b067b53583f9280ea6eb15bbe440b67e..33ada3d4b2ca71eb376bbf2867214560a7dae9b0 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_VF.cpp
index 2ff900f9eeabb113e28e52a4fcfa1ce7118e4987..7001837bb66c25ae538dcd60bf0031e3150cb821 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                   const interaction_const_t gmx_unused *ic,
                                   rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                   const interaction_const_t gmx_unused *ic,
                                   rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecEw_VdwLJ_VgrpF.cpp
index 6c1485720c051aa88d23a9cef7ba16e440cbcc87..8432d3287b38af880a7a4b7d1bf3bbfa43ae8004 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_F.cpp
index 1d4a1fc7a5cbb40b3f9cfa68eb625a6614333acc..aa03364cdbeaf796bc23658c12bcae00c0919fe8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF.cpp
index 4a37fe8ecae77f67cec67c652e2f7ae17c23a1de..726797ae808c1aeb29ebddea56bf74d4399c2a9e 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF.cpp
index 5cffddb30de570a226543f7f8593d0e1cf66891d..cb096a16da58eba7ac730eaba1604dfaf004fa90 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                                        const interaction_const_t gmx_unused *ic,
                                                        rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                                        const interaction_const_t gmx_unused *ic,
                                                        rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_F.cpp
index 6135b976aab2cb6e709f791ac2ecd1cbac2c3de5..5224475af779255a44514bcfda44c0ea933ecec1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VF.cpp
index aa092a43115dcd6fa99d255daca0c055ec25c6bb..6790788ec90947fbb68c02d34d4c8441198144fc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF.cpp
index 5aee623b9d6dfc63cf03ef597181ed56e9a3a378..683bf264605251c79a5b4006cbc1143792445a0b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F.cpp
index fc4c259df1d5c40ad6cb7e5765b5b28a6fc05a82..b465a24b8e699cd5f567e60747c1b967521a1ce6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF.cpp
index 11a05d6c25255e7012266b155d31f14369dddd23..10ec39804b3b0aefeee8539b1d1df6b35aff09af 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF.cpp
index 00b979864ab10ccaed20d8f55e05c54e4ea1b677..3be8e6910f5cb1d45f50b6ef4f5b8e1ab172c85d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                                          const interaction_const_t gmx_unused *ic,
                                                          rvec                      gmx_unused *shift_vec,
@@ -75,7 +75,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                                          const interaction_const_t gmx_unused *ic,
                                                          rvec                      gmx_unused *shift_vec,
@@ -83,7 +83,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu
                                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_F.cpp
index d3006d04dd8674c67af3e95cb8d474c50dd20482..ceb6f328ca4f4ecf9c5965ade2752ce8a0e5bd04 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_VF.cpp
index 642c3e4b504aa71458dc226662eda18b80b84503..ffcb4293994cc3975be6062f668f30ae1c99c4dc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF.cpp
index ff6e160e134710f8727881d4f9cc625cb2918b09..34bc49bebf5876559bc832b7952ae0f3d29049e6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_F.cpp
index c21dd62f3ec1275c2d84b80894e7af58a320fa09..e423443dcb8f25a16b9802a8a5b0365d41b5d56b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_VF.cpp
index 2f8ec63e0953f21a14ccb2f45277aad9532e20e4..25efe431af05f4edd177ce37959a26fa5fb16bf2 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF.cpp
index aa68ca5725829075a03665da19fbe00cdd3653d7..0704bd86bf70982a506ff4dbf85db2c16af09554 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_F.cpp
index 08255fa86693a263fbcc3915d3c69a9ed1582b3e..90ae868f6f0af9a7ebfb7e2a0fb94c967e3f6278 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_VF.cpp
index f2d42ac0c03437ddef8a3a257f85f489e3e63397..e87dcc72f98bf4defc5d6cab356d276cb35a61f5 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTabTwinCut_VdwLJ_VgrpF.cpp
index 1545776ec5f1c95e0aac04f336ceaaad7c5f7f44..091c6dd390f8ff573609c33fba67abc94acfdbcd 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_F.cpp
index 86a69f388a9da30de09e08fd03f73320c39ff87b..c8a2d77518363c812e8064f10b5686ddc9b7f750 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_VF.cpp
index 9377660eb1f32be3f7526ddac38812e971fcbb58..1db769d82ef60db7d9ce3b2bb5cdc92a84004fee 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombGeom_VgrpF.cpp
index 39d54a048d02eca8a1f9df8387370c41f42fc4ea..ff397a69e74f2686138d5126c67b21404e730e6a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_F.cpp
index c840a375ba3d890b4c93b17bd160342da2f32516..df2ec980052eb2c4abd9494274aefd36ac9de171 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_VF.cpp
index a5fc775781d48218c6da3953e3a59f25fae8422b..70f88f37c10c491a28013c168d9f19d18e826cb6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJCombLB_VgrpF.cpp
index 2905e5770a39f8980fe929eb90a2ecbb2b22df25..69a713b70bcc20857b20a93afcc3f36b645faba2 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_F.cpp
index c3b1db3766dd5bc02a09236ccd496a8fa0d82e0a..88f3805644e8f013136222f5166db066c789d7a1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_VF.cpp
index c3940fca0d5374a6b84633949b8389236674202c..57dbe74a655ce7371084e70666388112a42a34a3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF.cpp
index 67723dce7f24c12780abe0acd2ac0b7912b0ae7c..67e3f9c863712e6661af5ca08d89084c61c030d8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_F.cpp
index 4ab0ab04db6a3ffe47c82a98cb0e6007fa180eda..42d1f72dfafd3459a8bdf4709499d803178d42c0 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_VF.cpp
index e912b42741754c4b36d31aac96f56686e0272604..a49ab1f8ff516f890cb161ef4104217141572ee3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJFSw_VgrpF.cpp
index b51ec9dea56b28d944f4c2ef663bd66c80538c0c..102d2a02ce48ad850af7c8c20a981c1c6aaf277c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_F.cpp
index 67c43d6f44b75f10470b5275156fb08e37c3c57a..34d993d9bf655b5abce9d656b7f9366a7e60380f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_VF.cpp
index 438aedd1805149d4678772467220cd8cb93ce363..df5fc2c716bdfd31fb4461b652872d9b24d63336 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJPSw_VgrpF.cpp
index 4cc4005f403802f932c40b2c9340ff3116cdc0f2..9bd018f003b26cbe4394f579e47e4407405caa80 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_F.cpp
index 14bb6b95413ae556393052ff3c4eee21ecff835f..2ac3d4be8607506160e3cb08645c5950e5740097 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_VF.cpp
index 3dce0d795eef6a5f783acd98eda98823cb352080..bc005dfb0b822142fa02d40efff17cdd9fc417eb 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecQSTab_VdwLJ_VgrpF.cpp
index 1353281499caea682eec35ae002f3dd2340287c6..5ee8e13c9cf5e435521f77ba5b7f1c4a9dbd6642 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_F.cpp
index 6a87128b0156634d6aba8dfb8e82cc3adf4e583f..d28a4ca74d58dbf4d707e4e2d7a44682128f5523 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_VF.cpp
index 25e0e44dbbec931a9450a268e08c9492794c1564..b2a22d63b47fb0f501414e00f0aaa11da0a58148 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombGeom_VgrpF.cpp
index dbe6ff9725d8f1006a45338af6f36192c4503ba9..9b972dfd6ed29e605ec531da2dbd07f377046454 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_F.cpp
index e604a8f4f9d61f57ecff11fd1f3d62f53310b4cc..24f66d03d5fd05dbcb1f2d3502562cb765fe429c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_VF.cpp
index fade8d373378127f5e6ddf4f89f2f8b6ab046670..be185ef9702d717712b2e03a4b0f690e4bc7ac62 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJCombLB_VgrpF.cpp
index 28e86be3ccaa11f6b42c7ba1c67c4ad58ad34c3c..07a93ee9314fbf1fb79f6df715777262b1633ff1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_F.cpp
index c17df753a4fd472c59680a5d90dda8e1e05a54e4..3e53bb4f54e61bdc64cb6fadfd4d3e91e9342217 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_2xnn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_VF.cpp
index 4b1eaae56ae3fdb7a63a4dd6ae5fd89b4f851a78..eb0d13defa7bf5cd06b259e5a113a13fe756d956 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_2xnn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJEwCombGeom_VgrpF.cpp
index f18044a4703d1d26db2321c49bc09e1fcfa28c47..bd46f3a1ee002ba05f9f05e07dd67bf60b125d7b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_F.cpp
index 44b6d3a0b5fc96f541e00bfd513328561ef15773..b8faaf645185b90f71184af4e32b931bf8f831f9 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_VF.cpp
index c752860f0d634e3e172dd355c3633b4b052516ca..18effbff655be1beaf99d98f2e4d4fb9c1403a7f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJFSw_VgrpF.cpp
index 7f42ab4af8cb3ee12bebc98046a9e525ef693275..6e7999e60c02064bd0182242b1d0ba65a882678c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_F.cpp
index d525b31355bcab942783139f67df16f555c53c2a..b110e7cb75639216f9cc61ae231f37e5541b0cfe 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_VF.cpp
index 48e93a02260a7e40fff5bcf4d65562e08d04d222..d920f53002a57ba7cce975d070041232a063c598 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJPSw_VgrpF.cpp
index 2e8e26fdd6d17b89f9f7dc5711494a02f0113e83..961b26c811693addc9d117e65299e89805493514 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_F_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_F.cpp
index da98a6b66a86158fe99c0659f8edebbf590e2b9d..bdd05edac6267e9a93bcd05961b455a546dedc4d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_F_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJ_F_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_VF.cpp
index 9ed097cecfe814b9b1be7324ce077dbb204c10b6..d54132dfa6e5e80a0b1dba0b0e4aca7d9afe719a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                   const interaction_const_t gmx_unused *ic,
                                   rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                   const interaction_const_t gmx_unused *ic,
                                   rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_ElecRF_VdwLJ_VgrpF.cpp
index ebb84540dd4955137f444b7f2b0faaf22d56f46e..a3eefa1ef670bf34fbee13c60d7c4f78c2bd7eb7 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 2xnn.
+ * kernel type 2xmm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_2XNN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VgrpF_2xmm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                      const interaction_const_t gmx_unused *ic,
                                      rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VgrpF_2xnn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_2XNN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h
index da326f8a55ee307a6840e09529cd02d13a0425c5..d503825654ab88a48bb0c5253be3684522146f18 100644 (file)
@@ -32,7 +32,6 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#include "gromacs/mdlib/nbnxn_consts.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/simd/simd_math.h"
@@ -41,6 +40,8 @@
 #include "gromacs/math/utilities.h"
 #endif
 
+#include "config.h"
+
 #include <cstdint>
 
 #if !GMX_SIMD_HAVE_HSIMD_UTIL_REAL
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_outer.h
index 3a289895fb9ec9e425f2074a4ce153d6f277201c..748e4a980eb78ac6168fe0370ecd99defd029a4c 100644 (file)
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
             }
 #undef HALF_LJ
 #undef CALC_COULOMB
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
             }
 #undef CALC_COULOMB
         }
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_inner.h"
             }
         }
 #undef CALC_LJ
similarity index 96%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_prune.cpp
rename to src/gromacs/nbnxm/kernels_simd_2xmm/kernel_prune.cpp
index daca1cd809ab885556aa38b58187dcb6814047b6..f8816a4fa4d71e76dbee39d7c97cdb9d3a7bc0d1 100644 (file)
 
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_simd_2xnn_prune.h"
+#include "kernel_prune.h"
 
-#include "gromacs/mdlib/nbnxn_pairlist.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/gmxassert.h"
 
 #ifdef GMX_NBNXN_SIMD_2XNN
 #define GMX_SIMD_J_UNROLL_SIZE 2
-#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/nbnxm/kernels_simd_2xmm/kernel_common.h"
 #endif
 
 /* Prune a single nbnxn_pairtlist_t entry with distance rlistInner */
diff --git a/src/gromacs/nbnxm/kernels_simd_2xmm/kernels.h b/src/gromacs/nbnxm/kernels_simd_2xmm/kernels.h
new file mode 100644 (file)
index 0000000..81aa381
--- /dev/null
@@ -0,0 +1,279 @@
+/*
+ * This file is part of the GROMACS molecular simulation package.
+ *
+ * Copyright (c) 2012,2013,2014,2015,2019, by the GROMACS development team, led by
+ * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+ * and including many others, as listed in the AUTHORS file in the
+ * top-level source directory and at http://www.gromacs.org.
+ *
+ * GROMACS is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GROMACS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GROMACS; if not, see
+ * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ *
+ * If you want to redistribute modifications to GROMACS, please
+ * consider that scientific software is very special. Version
+ * control is crucial - bugs must be traceable. We will be happy to
+ * consider code for inclusion in the official distribution, but
+ * derived work must not be called official GROMACS. Details are found
+ * in the README & COPYING files - if they are missing, get the
+ * official version at http://www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the research papers on the package. Check out http://www.gromacs.org.
+ */
+/*
+ * Note: this file was generated by the Verlet kernel generator for
+ * kernel type 2xmm.
+ */
+
+
+#include "gromacs/nbnxm/kernel_common.h"
+
+/* Declare all the different kernel functions.
+ */
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJ_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJ_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xmm;
+
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombLB_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJ_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJFSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJPSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJ_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombLB_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJ_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJFSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJPSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xmm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xmm;
+
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJCombLB_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJ_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJFSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJPSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJ_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJFSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJPSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJCombLB_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJ_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJFSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJPSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_2xmm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xmm;
+
+
+
+#ifdef INCLUDE_KERNELFUNCTION_TABLES
+
+/* Declare and define the kernel function pointer lookup tables.
+ * The minor index of the array goes over both the LJ combination rules,
+ * which is only supported by plain cut-off, and the LJ switch/PME functions.
+ */
+p_nbk_func_noener nbnxm_kernel_noener_simd_2xmm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_F_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_F_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJ_F_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_F_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_F_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_F_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_F_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_F_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_F_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_F_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJ_F_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_F_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_F_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_2xmm,
+    },
+};
+
+p_nbk_func_ener nbnxm_kernel_ener_simd_2xmm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_VF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJ_VF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_VF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_VF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_VF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_VF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJ_VF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_VF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_VF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_2xmm,
+    },
+};
+
+p_nbk_func_ener nbnxm_kernel_energrp_simd_2xmm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJ_VgrpF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJ_VgrpF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_2xmm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_2xmm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_2xmm,
+    },
+};
+
+
+#endif /* INCLUDE_KERNELFUNCTION_TABLES */
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_F.cpp
index 718a0829f6212f9f637271d7f12e59c8d982e194..58ca76f9ce501f13cfbca3cc0e1d5aa866337a76 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_VF.cpp
index 620e69f3ed4b3fa664306815ea72bbb50d308e1a..dfde8917c50dd2d0035f72d335c1e8de708de687 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF.cpp
index b070056b0509c3ab5c777818489d410c6d3128c0..4e185486c9a28c44a1e94bc7bdb9eff1c40ebed8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_F.cpp
index 7a16c3e79c035bf8e1369d90c1d17a14a05afcc4..8eeb5668938143d0aaf1d7d93aaadb2589b8a68a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_VF.cpp
index bf97fc097a2a6b385d68be51ef8559d71cfcb511..25e5c3fd7afb5a4bd54f70fe4046e77cee972ddc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF.cpp
index 002d4762c7c9466a1a13a724b311066f7dbb8f6e..fe0da1bbbd55f55f84b7642fba90fea2f75fc47b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_F.cpp
index 33a5516d5d93fc4d6c5d0cfb3b536cc18e3cce38..fe0673698c2013c7730ec85d46dc6d8e873f5058 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF.cpp
index c2383a87f719491513baf59aaebc6e2e0a7917af..06d09d4b659c327679f9fc847f7893220348a406 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF.cpp
index 814d16da6de54c313bfb35bb6eba1e9e4fcbdc6c..6b3d4a0f47b0f441cdd4de49ccb164ec1bfa724f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -75,7 +75,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -83,7 +83,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_F.cpp
index 46af165ac41740a90d4d1c343c5fe3ef383c103f..52edb50536f79d9d60d3193791ca5ce9fa20416f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_VF.cpp
index d5305178c254365fbf414d459edd9b4228404304..519838d81256f410ed828daedb57efe285d4c00f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJFSw_VgrpF.cpp
index 7addd906d3289a81d9aef99742257b08ad06fd98..ab769cd6f1349ef670b151f9a4879c1814a73e3e 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_F.cpp
index 8960cda71a926f37376fbb898a7d64e2af8893de..f34817f08a34133419abc1c3b41fd6fa7efe762f 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_VF.cpp
index 2f177971a174805986e14b699e66a88c72665001..334e6729befeba38ea428792d53890743688f08b 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJPSw_VgrpF.cpp
index f01727568fe373c08679a6e89941e11e09b9e3cb..c2263a47545ac9404ca65b737f84603fe1f512e8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_F.cpp
index 465705e5fc2fc2394f43625faac9dca103ca0045..973dba7d6f47aea2b455267bca618f2f740a1771 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_VF.cpp
index f55b5a40e42f3c6781fa24fd3c18e80d80b214ce..3dd405eaf45c2e9e08583bedec10a1582cf0a9c9 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEwTwinCut_VdwLJ_VgrpF.cpp
index 4a287b1f80bed4fe0cdaea1933c935d24f2e87dc..c134e4ee617a5a5aa003df7224770a0276916c5d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_F.cpp
index 877b933fc78e800fec3acc04bfdfa8aa04042a53..8aca8dc82085506cb5d35260b064454e17a95da7 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_VF.cpp
index 41403182370673ebba308fee4ef9d93c4bd7b522..5972cb9afb43c7a075a1d6f137767e56bfbef153 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombGeom_VgrpF.cpp
index b40088c839a366c6f4d9f753baf599bca3fd05c1..3667542de282d7b29dc5b55501adee6273fa1545 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_F.cpp
index 9c28c15654a24ef299ae77d13797522422eb38e7..0d3aaac597254adb0cd889f222efb95006ea5714 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_VF.cpp
index 6278a0a3bf955c210887d47b9256440b5f9a0273..279e0b6c22a311254a6104101fd5aff165224265 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJCombLB_VgrpF.cpp
index 27af95bdcae441b672040aa5b8d8c4165e212e40..8e446d8cfc40454d3d215dc08f6f5e748f8053c5 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_F.cpp
index 9197c1d09864bf3a81a2c88a037107c61687037a..2f4b65e84efd3309a3fd88a5edb6d806a3d4738e 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_VF.cpp
index e4525f5bbb79940f25450b66a4ca47f1c54d47fb..8e94694801bb934acb15271b0e8b8cfbd9ae69cf 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJEwCombGeom_VgrpF.cpp
index ef47bb4346deebcfc1aa7b873c7508662bf3bedc..16943d6f45bb2940de98b41d310be679a019b600 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_F.cpp
index a9acd2fd7bef723a03969281c4eaeed15d891583..2c68e5ff76c51208edb78a99d0d00eac05553923 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_VF.cpp
index 0fd036fc645951cbdb111d0814679eb7cfbe1ef5..88816fb5f218cf48ed2136c9cebc878f93731a62 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJFSw_VgrpF.cpp
index bb929050527fdc55f83f6ec119fe9c24feeafab7..f31877fdff1edbdca2f5c258eb8c83bdc7fbbcdc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_F.cpp
index 97028336aa870bb0e3b09ed2435a7233b081e725..ac41fe331f3d05732b2ae47b7b27096977423032 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_VF.cpp
index 415d25b77ad375030a50b1f6ff97e6d67a845503..a348ca16e66b1b711ee38c98d96e2232478dbdbd 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJPSw_VgrpF.cpp
index c67510c72a6f0e1a186d804f15d7e0a143f6f26f..a01023007a632649a15aecc64b0137314e885e55 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_F.cpp
index 1b7c6278528bb82dc4c5c5d986a8d490d6ed2aff..73c15f425f34ae6cfccb2c9e23805735255913eb 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                 const interaction_const_t gmx_unused *ic,
                                 rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                 const interaction_const_t gmx_unused *ic,
                                 rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_VF.cpp
index dad375568ef0bda20b57835a20296b78b9c7df44..f543530e6e4d298ce1e3a791f921c292c755afce 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecEw_VdwLJ_VgrpF.cpp
index 461a447335e72aaad6d1f04fcf8947fa6dadacfe..8236f9ea5671c63decef1ace1d30b3c6eeebdf0c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_EWALD
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecEw_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecEw_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_F.cpp
index 07a231392865b8623ee87ef23c10ff3538d9bf56..0d45eb2350d8fc4b2af3f0740785ce60774b2b68 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                   const nbnxn_atomdata_t    gmx_unused *nbat,
                                                   const interaction_const_t gmx_unused *ic,
                                                   rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_
                                                   real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF.cpp
index 48b92d90e4483017e1318c5d7d3c17e83a6e24e7..34a0cac93bbbbd3a86fae5e54499b42b807a1721 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                                    const interaction_const_t gmx_unused *ic,
                                                    rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx
                                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF.cpp
index 42dae0d51cd6cc4e98af6dc135e9e6dee8ba4d07..ddf7ba935c736ff9001357ae8af4372aa19b98d2 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                                       const interaction_const_t gmx_unused *ic,
                                                       rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu
                                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_F.cpp
index 2c45550355492f587b38a8c72c2623005382018e..df2fdbcfd27cc549d3966f9dd55ee06457c313db 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                                 const interaction_const_t gmx_unused *ic,
                                                 rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_un
                                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VF.cpp
index 3a8a150023442ca56f9157b6746add772ad22339..aa807ce6b064116e4dc4a629c97b2ffb8fd00923 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF.cpp
index da15b89842053d5075c6c2d6b05cc6dd52a7da44..59dc5ee7e29d9bdaed18a9517a7bd542d38803e8 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F.cpp
index 86857b80e4dbb56bd7cac4a7685acd0a854b641e..e19272236e39c49bf0b08094042d7218754ac996 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                                     const interaction_const_t gmx_unused *ic,
                                                     rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gm
                                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF.cpp
index 3b31211d9e4255f43589b2909f8f4766c2f145ca..39987ed868ce511507ec60de92d2401bc473b9f3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                      const nbnxn_atomdata_t    gmx_unused *nbat,
                                                      const interaction_const_t gmx_unused *ic,
                                                      rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    g
                                                      real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF.cpp
index 6d710edb72e8b6d0655a1fddf87e9fd47268614f..a56e05ed4a2ffd431035cdc5e2dcf989d62b8ba3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                                         const interaction_const_t gmx_unused *ic,
                                                         rvec                      gmx_unused *shift_vec,
@@ -75,7 +75,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu
                                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                                         const interaction_const_t gmx_unused *ic,
                                                         rvec                      gmx_unused *shift_vec,
@@ -83,7 +83,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu
                                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_F.cpp
index d42fa34bac8b4d0fb06586c44f5d3c31371ce74a..08cae714eb39053667e49cb2b0b902ed43a58c05 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_VF.cpp
index 8f606fe6b0dde1f34d975adeac35452d87b42ad7..796fde1da29f3ddd52f3c547e68df9ccf4695826 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF.cpp
index 632097c18a825a4c95ac54f471115e239f9b4a74..295cdf98fd5c218823ce6f319f74eb482090e2a0 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_F.cpp
index e989026a65730840897772d72e9a9dc88cb07ddd..b7172cd6babab0c36e8adf7d6328c107348cb98d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_VF.cpp
index 18e5b35dc0e7dc01d8fae7c2fb0f43519dd04144..494eb89e4d7c258438d083df17f03fba6323c645 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF.cpp
index 1b3cb3e8d286e4b302bb6e85353f6f8bdad78f3d..f8a430d9cd9ff117c486dbe0ca75e26d0223160e 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_F.cpp
index 14eaa2e6cbe5dcb4b5af46ff47a599ee9cf667cb..d2488267844a54dbef09fb8bd390b01b63a2dbaa 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_VF.cpp
index 9ce158cbb30b4b6079c5295026fc77e70a99e0ac..1ce93b791cf9e5f4ec4c22cd604476cf806fce3e 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTabTwinCut_VdwLJ_VgrpF.cpp
index 9bc0a1dbed8ca2c96f301b13343d9c99cdaf3194..75f20153679ab33bb1d5d42cd2fab68fa45b1129 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define VDW_CUTOFF_CHECK /* Use twin-range cut-off */
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_F.cpp
index 0283154b0f2a01f715dadb443514e706e8654b56..87f00f41a223c4b834ede957736378255fd8ba53 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_VF.cpp
index 2d286c25a915a6f1885bd25834bb04728346fc1f..b8b92fa9f5fc371666fd7ed8c9563be1f3670583 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombGeom_VgrpF.cpp
index 51f3e562e672aea523679c76f8c631326f9a47cd..a9016a9f5867ed902b3507978b9f1aa5e78226f6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                const nbnxn_atomdata_t    gmx_unused *nbat,
                                                const interaction_const_t gmx_unused *ic,
                                                rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unu
                                                real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_F.cpp
index 65eef8b30598648e55f26a9e500223b35680ab50..4acdd35203de071804ac78ed328e89c3c3b3ac6c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_VF.cpp
index 69263a1fd1bc0576129018beb3ec128b3b944ab3..95139a6e9dd194f39d698ee6b6e1b70136ffe0dd 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJCombLB_VgrpF.cpp
index e20cf637f4a3e947953588616fc41970cc41592b..bc92923a0d2e0832883a9f9a9cdaaed1640a1f42 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_F.cpp
index 4cf542b008f3f3702311c3db42829a0e9cd845e4..fdb66599f5e80d71814ebe7f538fd0dd832c4514 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                              const nbnxn_atomdata_t    gmx_unused *nbat,
                                              const interaction_const_t gmx_unused *ic,
                                              rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unuse
                                              real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_VF.cpp
index 6b6b8c9c602aad6dc03ed8455fc8a344cc973614..60e3a91de89c1aa5de9570451ad3b7838688d51d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF.cpp
index 3ba45418c06f4ccf80ff2958c28e97442deced11..aa389c67d4656f7251c5be05110af54fc3724e96 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                                  const interaction_const_t gmx_unused *ic,
                                                  rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_u
                                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_F.cpp
index 0ae4fcd11048d3f18452743f2da4fd384492905a..27e399578a354879af73e4ff763ce1a3c3d75656 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_VF.cpp
index 3555140a2dbc0f75e8122e9dfdc59317edffd42e..4319c679ae4f71288da5d645e9fe5c1fa1964aad 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJFSw_VgrpF.cpp
index 45e424a79c7cacf194bf4b962705262dc5f65e2c..6bd0ce2a610f57c17139fdcef5e1d8d2c3f1485a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_F.cpp
index 711c21fa8ca7eeb364c85a36d4d0c93b099359f1..823b951246bab7f53e3b27d38ad8661a248ffc51 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_VF.cpp
index 8a4b70c90f28bc879bce8afa3a81455aff3af186..25e6ee2498199ee07b876711fb055299b47f4c5c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJPSw_VgrpF.cpp
index ad717f96e769407de84a272d104ffa0e10c3122c..05867be64965261670cc2876e733a3c184731ecd 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_F.cpp
index 8bd49504f6aaa2171a54c9ce40f50e1f6dd63fb8..fecb007ed8e7d0c4f5a6bb7571ca84a88189d9b0 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_VF.cpp
index 784b9019f51b34c7c0e27bddc7396ddef38ae13e..6062fa0e2ba931c0cc9e4f3590e7ca9836618b00 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecQSTab_VdwLJ_VgrpF.cpp
index 86ec48cb4c8647d163607969436fcd15b1a15428..0f9dd6d18c74262f5bc31fcf086dacbf1b982cc3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_TAB
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecQSTab_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_F.cpp
index 0b8f0726d14ab51d4219b94ae22dcfc3e238a17f..4214a5206a69f9a65535bfdb91fb5c4eea7126fc 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                         const nbnxn_atomdata_t    gmx_unused *nbat,
                                         const interaction_const_t gmx_unused *ic,
                                         rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nb
                                         real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_VF.cpp
index faee8996d30fbbbc485c9948e169084394f471ae..b9982a051f2bfb2e9bea482c8843930f8aab82b3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *n
                                          real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombGeom_VgrpF.cpp
index 9eb0ec59636229b0260d5218ddcde52fe06ab616..2b81b52f49fa30ac4a955d177185c9f9d07299cb 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                             const nbnxn_atomdata_t    gmx_unused *nbat,
                                             const interaction_const_t gmx_unused *ic,
                                             rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused
                                             real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_F.cpp
index b948ade5a630f47eb12a18f213355d2e0501e0e5..e53afc610d37ea03e76bab1ad78cc3306a016188 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       const nbnxn_atomdata_t    gmx_unused *nbat,
                                       const interaction_const_t gmx_unused *ic,
                                       rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                       real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_VF.cpp
index 5f21405d1a3a27db3712f944b79c6c77b96596e5..3ab3289899c4f8e2968b42d0b25dab80db1a1155 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJCombLB_VgrpF.cpp
index a5f7287d61f3981f7f1ee7bb1e1f7d3d9233bdc6..887dc6c20b9bd78a79c54d159f5acb6003d85db3 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJCombLB_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_F.cpp
index a6c3ffbe22a682a7809e2206073d1b25e5696808..c7f0a45e09609b140e268cc42c8cdf7e5fd5e2ed 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                           const nbnxn_atomdata_t    gmx_unused *nbat,
                                           const interaction_const_t gmx_unused *ic,
                                           rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_F_4xn(const NbnxnPairlistCpu    gmx_unused *
                                           real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_VF.cpp
index 24e53a873eaf0868c6fe00ae92f27dfc4cea0aa5..1773741e5e5fab22707bc0151e825bd92a5775a0 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                            const nbnxn_atomdata_t    gmx_unused *nbat,
                                            const interaction_const_t gmx_unused *ic,
                                            rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VF_4xn(const NbnxnPairlistCpu    gmx_unused
                                            real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJEwCombGeom_VgrpF.cpp
index a9797ce94479285d80d7d1f5f1798824f887fa71..77f95a96719fe814f272aa1e230b9386d52fe4ab 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -74,7 +74,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                               const nbnxn_atomdata_t    gmx_unused *nbat,
                                               const interaction_const_t gmx_unused *ic,
                                               rvec                      gmx_unused *shift_vec,
@@ -82,7 +82,7 @@ nbnxn_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unus
                                               real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_F.cpp
index b06ee570a8a5eb825b541fab54f71473a4f42ca1..b1af85e25ff3df9eaa1b59d91a8a7615446e3a0a 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_VF.cpp
index adf65c67680568f46e7b014b68219e6ed550e47c..3d32f12e1b9b7b2f113de1b2ebcbf2111c8eda1c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJFSw_VgrpF.cpp
index 2c1ac393251ad2ae1aabc55b97ea0d483127d10c..80f1bcc5d8a7904caa6b27bef0369c196db8dd8c 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_FORCE_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJFSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_F.cpp
index 125afe8031a1508179689c881a47c3aa3f0b60d2..c703faf8a131f77065b9a22416860f39b1aa3cb1 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    const nbnxn_atomdata_t    gmx_unused *nbat,
                                    const interaction_const_t gmx_unused *ic,
                                    rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                    real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_VF.cpp
index 681a8ad15ea48357cf8a1fcf32bc0201c6868292..6f3ae63586d90d7a54e1ec6a6a4cea1e2b779da7 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJPSw_VgrpF.cpp
index bb37ca1eec3cd1ecfd4b9dd1a8e08ba3d34e1ef1..489f4ed122ded8428d84b422cb00ab01d88ec26d 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_POT_SWITCH
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                        const nbnxn_atomdata_t    gmx_unused *nbat,
                                        const interaction_const_t gmx_unused *ic,
                                        rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJPSw_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl
                                        real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_F_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_F.cpp
index 79aeab798d3a836a54c7c7ef75e16a3e0a587fb7..7e034342672ae3503530db8117016106643fddc6 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 /* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                 const interaction_const_t gmx_unused *ic,
                                 rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_F_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 const nbnxn_atomdata_t    gmx_unused *nbat,
                                 const interaction_const_t gmx_unused *ic,
                                 rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJ_F_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                 real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_VF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_VF.cpp
index e23a63f5afb5449fc78573fd7696382b445c828c..b55a7fb167719e6359b266441390849066514ed9 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define CALC_ENERGIES
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -72,7 +72,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  const nbnxn_atomdata_t    gmx_unused *nbat,
                                  const interaction_const_t gmx_unused *ic,
                                  rvec                      gmx_unused *shift_vec,
@@ -80,7 +80,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                  real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 90%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_ElecRF_VdwLJ_VgrpF.cpp
index 52cbb43fa0aa1d4937d90f18e6e5f68ba2b892db..a6890df3ac645e1842fd98dd312d6bbac7446532 100644 (file)
@@ -34,7 +34,7 @@
  */
 /*
  * Note: this file was generated by the Verlet kernel generator for
- * kernel type 4xn.
+ * kernel type 4xm.
  */
 
 /* Some target architectures compile kernels for only some NBNxN
  */
 #include "gmxpre.h"
 
-#include "gromacs/mdlib/nbnxn_simd.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
 
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernels.h"
 
 #define CALC_COUL_RF
 #define LJ_CUT
 #define ENERGY_GROUPS
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif /* GMX_NBNXN_SIMD_4XN */
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -73,7 +73,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
+nbnxm_kernel_ElecRF_VdwLJ_VgrpF_4xm(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     const nbnxn_atomdata_t    gmx_unused *nbat,
                                     const interaction_const_t gmx_unused *ic,
                                     rvec                      gmx_unused *shift_vec,
@@ -81,7 +81,7 @@ nbnxn_kernel_ElecRF_VdwLJ_VgrpF_4xn(const NbnxnPairlistCpu    gmx_unused *nbl,
                                     real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h"
 #else /* GMX_NBNXN_SIMD_4XN */
 {
 /* No need to call gmx_incons() here, because the only function
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_common.h
index 7ac6e4f62ad62ed3cc6b02c651e5e0f08a781a36..364260a6f869aa5f8ce25600b3ede91791e8112e 100644 (file)
@@ -32,7 +32,6 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#include "gromacs/mdlib/nbnxn_consts.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/simd/simd_math.h"
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_outer.h
index df29ca0b5655d7626983192a1020524b54a0b698..e52ad7ceed4e4f460f7913405b1e3b94da21469c 100644 (file)
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
             }
 #undef HALF_LJ
 #undef CALC_COULOMB
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
             }
 #undef CALC_COULOMB
         }
 #define CHECK_EXCLS
             while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
                 cjind++;
             }
 #undef CHECK_EXCLS
             for (; (cjind < cjind1); cjind++)
             {
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_inner.h"
             }
         }
 #undef CALC_LJ
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_prune.cpp
rename to src/gromacs/nbnxm/kernels_simd_4xm/kernel_prune.cpp
index e7f829c47b09ad69326219143bdf4482595e7738..f56305659766c5cfa5d27f087a60f84bb2cca3c2 100644 (file)
 
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_simd_4xn_prune.h"
+#include "kernel_prune.h"
 
-#include "gromacs/mdlib/nbnxn_pairlist.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/gmxassert.h"
 
 #ifdef GMX_NBNXN_SIMD_4XN
 #define GMX_SIMD_J_UNROLL_SIZE 1
-#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h"
+#include "gromacs/nbnxm/kernels_simd_4xm/kernel_common.h"
 #endif
 
 /* Prune a single nbnxn_pairtlist_t entry with distance rlistInner */
diff --git a/src/gromacs/nbnxm/kernels_simd_4xm/kernels.h b/src/gromacs/nbnxm/kernels_simd_4xm/kernels.h
new file mode 100644 (file)
index 0000000..6a22a40
--- /dev/null
@@ -0,0 +1,279 @@
+/*
+ * This file is part of the GROMACS molecular simulation package.
+ *
+ * Copyright (c) 2012,2013,2014,2015,2019, by the GROMACS development team, led by
+ * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+ * and including many others, as listed in the AUTHORS file in the
+ * top-level source directory and at http://www.gromacs.org.
+ *
+ * GROMACS is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GROMACS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GROMACS; if not, see
+ * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ *
+ * If you want to redistribute modifications to GROMACS, please
+ * consider that scientific software is very special. Version
+ * control is crucial - bugs must be traceable. We will be happy to
+ * consider code for inclusion in the official distribution, but
+ * derived work must not be called official GROMACS. Details are found
+ * in the README & COPYING files - if they are missing, get the
+ * official version at http://www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the research papers on the package. Check out http://www.gromacs.org.
+ */
+/*
+ * Note: this file was generated by the Verlet kernel generator for
+ * kernel type 4xm.
+ */
+
+
+#include "gromacs/nbnxm/kernel_common.h"
+
+/* Declare all the different kernel functions.
+ */
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJ_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJ_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xm;
+
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJCombLB_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJ_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJFSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJPSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJ_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJCombLB_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJ_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJFSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJPSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xm;
+nbk_func_ener         nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xm;
+
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJCombLB_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJ_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJFSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJPSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJ_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJFSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJPSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJCombLB_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJ_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJFSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJPSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_4xm;
+nbk_func_noener       nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xm;
+
+
+
+#ifdef INCLUDE_KERNELFUNCTION_TABLES
+
+/* Declare and define the kernel function pointer lookup tables.
+ * The minor index of the array goes over both the LJ combination rules,
+ * which is only supported by plain cut-off, and the LJ switch/PME functions.
+ */
+p_nbk_func_noener nbnxm_kernel_noener_simd_4xm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_F_4xm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_F_4xm,
+        nbnxm_kernel_ElecRF_VdwLJ_F_4xm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_F_4xm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_F_4xm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_F_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_F_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_F_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_F_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_F_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_F_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_F_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_F_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_F_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_F_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_F_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_F_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_F_4xm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_F_4xm,
+        nbnxm_kernel_ElecEw_VdwLJ_F_4xm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_F_4xm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_F_4xm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_F_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_F_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_F_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_F_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_F_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_F_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_F_4xm,
+    },
+};
+
+p_nbk_func_ener nbnxm_kernel_ener_simd_4xm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_VF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_VF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJ_VF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_VF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_VF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_VF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_VF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_VF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_VF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_VF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_VF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJ_VF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_VF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_VF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_VF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VF_4xm,
+    },
+};
+
+p_nbk_func_ener nbnxm_kernel_energrp_simd_4xm[coulktNR][vdwktNR] =
+{
+    {
+        nbnxm_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJCombLB_VgrpF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJ_VgrpF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJFSw_VgrpF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJPSw_VgrpF_4xm,
+        nbnxm_kernel_ElecRF_VdwLJEwCombGeom_VgrpF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTab_VdwLJCombGeom_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJCombLB_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJ_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJFSw_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJPSw_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombGeom_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJCombLB_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJ_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJFSw_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJPSw_VgrpF_4xm,
+        nbnxm_kernel_ElecQSTabTwinCut_VdwLJEwCombGeom_VgrpF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEw_VdwLJCombGeom_VgrpF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJCombLB_VgrpF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJ_VgrpF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJFSw_VgrpF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJPSw_VgrpF_4xm,
+        nbnxm_kernel_ElecEw_VdwLJEwCombGeom_VgrpF_4xm,
+    },
+    {
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombGeom_VgrpF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJCombLB_VgrpF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJ_VgrpF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJFSw_VgrpF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJPSw_VgrpF_4xm,
+        nbnxm_kernel_ElecEwTwinCut_VdwLJEwCombGeom_VgrpF_4xm,
+    },
+};
+
+
+#endif /* INCLUDE_KERNELFUNCTION_TABLES */
similarity index 64%
rename from src/gromacs/mdlib/nb_verlet.h
rename to src/gromacs/nbnxm/nbnxm.h
index 5b7b4d4cfe319346e61207c83088917baa63194f..6f7ccd727e680bc71fc3af20bf4db0b0df051e9c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -36,7 +36,7 @@
 // FIXME: remove the "__" prefix in front of the group def when we move the
 //        nonbonded code into separate dir.
 
-/*! \libinternal \defgroup __module_nb_verlet Short-range non-bonded interaction module
+/*! \libinternal \defgroup __module_nbnxm Short-range non-bonded interaction module
  * \ingroup group_mdrun
  *
  * \brief Computes forces and energies for short-range pair-interactions
@@ -51,7 +51,7 @@
  * for GPU pair-list setup interaction kernel.
  *
  * The implementation of the kernels is based on the cluster non-bonded algorithm
- * which in the code is referred to as the NxN algorithms ("nbnxn_" prefix);
+ * which in the code is referred to as the NxM algorithms ("nbnxm_" prefix);
  * for details of the algorithm see DOI:10.1016/j.cpc.2013.06.003.
  *
  * Algorithmically, the non-bonded computation has two different modes:
 
 /*! \libinternal \file
  *
- * \brief This file contains the public interface of the non-bonded Verlet module
- * that implements the NxN cluster non-bonded algorithm to efficiently compute
- * pair forces.
+ * \brief This file contains the public interface of the nbnxm module
+ * that implements the NxM atom cluster non-bonded algorithm to efficiently
+ * compute pair forces.
  *
  *
  * \author Berk Hess <hess@kth.se>
  * \author Szilárd Páll <pall.szilard@gmail.com>
  *
  * \inlibraryapi
- * \ingroup __module_nb_verlet
+ * \ingroup __module_nbnxm
  */
 
 
-#ifndef NB_VERLET_H
-#define NB_VERLET_H
+#ifndef GMX_NBNXM_NBNXM_H
+#define GMX_NBNXM_NBNXM_H
 
 #include <memory>
 
-#include "gromacs/mdlib/nbnxn_gpu_types.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/nbnxm/pairlist.h"
+#include "gromacs/nbnxm/pairlistset.h"
+#include "gromacs/utility/arrayref.h"
+#include "gromacs/utility/real.h"
+
+// TODO: Remove these includes
+#include "kerneldispatch.h"
+#include "nbnxm_gpu.h"
+
+struct gmx_device_info_t;
+struct gmx_domdec_zones_t;
+struct gmx_hw_info_t;
+struct gmx_mtop_t;
+struct t_commrec;
+struct t_forcerec;
+struct t_inputrec;
+
+namespace gmx
+{
+class MDLogger;
+class UpdateGroupsCog;
+}
 
 //! Help pass GPU-emulation parameters with type safety.
 enum class EmulateGpuNonbonded : bool
@@ -198,8 +219,67 @@ typedef struct nonbonded_verlet_t {
                                                                used for the 8x8x8 GPU kernels    */
 } nonbonded_verlet_t;
 
-/*! \brief Getter for bUseGPU */
-gmx_bool
-usingGpu(nonbonded_verlet_t *nbv);
+/*! \brief Initializes the nbnxn module */
+void init_nb_verlet(const gmx::MDLogger     &mdlog,
+                    nonbonded_verlet_t     **nb_verlet,
+                    gmx_bool                 bFEP_NonBonded,
+                    const t_inputrec        *ir,
+                    const t_forcerec        *fr,
+                    const t_commrec         *cr,
+                    const gmx_hw_info_t     &hardwareInfo,
+                    const gmx_device_info_t *deviceInfo,
+                    const gmx_mtop_t        *mtop,
+                    matrix                   box);
+
+/*! \brief Put the atoms on the pair search grid.
+ *
+ * Only atoms atomStart to atomEnd in x are put on the grid.
+ * The atom_density is used to determine the grid size.
+ * When atomDensity<=0, the density is determined from atomEnd-atomStart and the corners.
+ * With domain decomposition part of the n particles might have migrated,
+ * but have not been removed yet. This count is given by nmoved.
+ * When move[i] < 0 particle i has migrated and will not be put on the grid.
+ * Without domain decomposition move will be NULL.
+ */
+void nbnxn_put_on_grid(nbnxn_search_t                  nbs,
+                       int                             ePBC,
+                       const matrix                    box,
+                       int                             ddZone,
+                       const rvec                      lowerCorner,
+                       const rvec                      upperCorner,
+                       const gmx::UpdateGroupsCog     *updateGroupsCog,
+                       int                             atomStart,
+                       int                             atomEnd,
+                       real                            atomDensity,
+                       const int                      *atinfo,
+                       gmx::ArrayRef<const gmx::RVec>  x,
+                       int                             numAtomsMoved,
+                       const int                      *move,
+                       int                             nb_kernel_type,
+                       nbnxn_atomdata_t               *nbat);
+
+/*! \brief As nbnxn_put_on_grid, but for the non-local atoms
+ *
+ * with domain decomposition. Should be called after calling
+ * nbnxn_search_put_on_grid for the local atoms / home zone.
+ */
+void nbnxn_put_on_grid_nonlocal(nbnxn_search_t                   nbs,
+                                const struct gmx_domdec_zones_t *zones,
+                                const int                       *atinfo,
+                                gmx::ArrayRef<const gmx::RVec>   x,
+                                int                              nb_kernel_type,
+                                nbnxn_atomdata_t                *nbat);
+
+/*! \brief Returns the number of x and y cells in the local grid */
+void nbnxn_get_ncells(nbnxn_search_t nbs, int *ncx, int *ncy);
+
+/*! \brief Returns the order indices of the atoms on the pairlist search grid */
+gmx::ArrayRef<const int> nbnxn_get_atomorder(const nbnxn_search* nbs);
+
+/*! \brief Renumbers the atom indices on the grid to consecutive order */
+void nbnxn_set_atomorder(nbnxn_search_t nbs);
+
+/*! \brief Returns the index position of the atoms on the pairlist search grid */
+gmx::ArrayRef<const int> nbnxn_get_gridindices(const nbnxn_search* nbs);
 
-#endif /* NB_VERLET_H */
+#endif // GMX_NBNXN_NBNXN_H
similarity index 78%
rename from src/gromacs/mdlib/nbnxn_util.h
rename to src/gromacs/nbnxm/nbnxm_geometry.cpp
index 1ab116afdedea512b464366c89920b17df4d889a..42f22b6f2095c44c3c73fb740cc28ba3b6dafed8 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef GMX_MDLIB_NBNXN_UTIL_H
-#define GMX_MDLIB_NBNXN_UTIL_H
+#include "gmxpre.h"
 
-#include <cmath>
+#include "nbnxm_geometry.h"
 
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/utility/fatalerror.h"
 
-
-/* Returns the base-2 log of n.
- * Generates a fatal error when n is not an integer power of 2.
- */
-static inline int get_2log(int n)
-{
-    int log2;
-
-    log2 = 0;
-    while ((1 << log2) < n)
-    {
-        log2++;
-    }
-    if ((1 << log2) != n)
-    {
-        gmx_fatal(FARGS, "nbnxn na_c (%d) is not a power of 2", n);
-    }
-
-    return log2;
-}
-
-/* Returns the nbnxn i-cluster size in atoms for the nbnxn kernel type */
-static inline int nbnxn_kernel_to_cluster_i_size(int nb_kernel_type)
+int nbnxn_kernel_to_cluster_i_size(int nb_kernel_type)
 {
     switch (nb_kernel_type)
     {
@@ -88,8 +64,7 @@ static inline int nbnxn_kernel_to_cluster_i_size(int nb_kernel_type)
     return 0;
 }
 
-/* Returns the nbnxn i-cluster size in atoms for the nbnxn kernel type */
-static inline int nbnxn_kernel_to_cluster_j_size(int nb_kernel_type)
+int nbnxn_kernel_to_cluster_j_size(int nb_kernel_type)
 {
     int nbnxn_simd_width = 0;
     int cj_size          = 0;
@@ -119,6 +94,3 @@ static inline int nbnxn_kernel_to_cluster_j_size(int nb_kernel_type)
 
     return cj_size;
 }
-
-
-#endif
diff --git a/src/gromacs/nbnxm/nbnxm_geometry.h b/src/gromacs/nbnxm/nbnxm_geometry.h
new file mode 100644 (file)
index 0000000..250a9e1
--- /dev/null
@@ -0,0 +1,67 @@
+/*
+ * This file is part of the GROMACS molecular simulation package.
+ *
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+ * and including many others, as listed in the AUTHORS file in the
+ * top-level source directory and at http://www.gromacs.org.
+ *
+ * GROMACS is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GROMACS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GROMACS; if not, see
+ * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ *
+ * If you want to redistribute modifications to GROMACS, please
+ * consider that scientific software is very special. Version
+ * control is crucial - bugs must be traceable. We will be happy to
+ * consider code for inclusion in the official distribution, but
+ * derived work must not be called official GROMACS. Details are found
+ * in the README & COPYING files - if they are missing, get the
+ * official version at http://www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the research papers on the package. Check out http://www.gromacs.org.
+ */
+
+#ifndef GMX_NBNXM_NBNXM_GEOMETRY_H
+#define GMX_NBNXM_NBNXM_GEOMETRY_H
+
+#include "gromacs/utility/fatalerror.h"
+
+/* Returns the base-2 log of n.
+ * Generates a fatal error when n is not an integer power of 2.
+ */
+static inline int get_2log(int n)
+{
+    int log2;
+
+    log2 = 0;
+    while ((1 << log2) < n)
+    {
+        log2++;
+    }
+    if ((1 << log2) != n)
+    {
+        gmx_fatal(FARGS, "nbnxn na_c (%d) is not a power of 2", n);
+    }
+
+    return log2;
+}
+
+/* Returns the nbnxn i-cluster size in atoms for the nbnxn kernel type */
+int nbnxn_kernel_to_cluster_i_size(int nb_kernel_type);
+
+/* Returns the nbnxn i-cluster size in atoms for the nbnxn kernel type */
+int nbnxn_kernel_to_cluster_j_size(int nb_kernel_type);
+
+#endif
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_gpu.h
rename to src/gromacs/nbnxm/nbnxm_gpu.h
index b23347b6c51b53adc8fe8571ec4cf8dc8c9e0345..6aa7c21752129bfad7a344a16c0b3dc261469993 100644 (file)
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-/*! \internal \file
+/*! \libinternal \file
  *  \brief Declare interface for GPU execution for NBNXN module
  *
  *  \author Szilard Pall <pall.szilard@gmail.com>
  *  \author Mark Abraham <mark.j.abraham@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
-#ifndef GMX_MDLIB_NBNXN_GPU_H
-#define GMX_MDLIB_NBNXN_GPU_H
+#ifndef GMX_NBNXM_NBNXM_GPU_H
+#define GMX_NBNXM_NBNXM_GPU_H
 
 #include "gromacs/gpu_utils/gpu_macros.h"
 #include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_gpu_types.h"
 #include "gromacs/utility/basedefinitions.h"
 #include "gromacs/utility/real.h"
 
+#include "gpu_types.h"
+
 struct nbnxn_atomdata_t;
 enum class GpuTaskCompletion;
 
diff --git a/src/gromacs/nbnxm/nbnxm_setup.cpp b/src/gromacs/nbnxm/nbnxm_setup.cpp
new file mode 100644 (file)
index 0000000..e00d1a0
--- /dev/null
@@ -0,0 +1,427 @@
+/*
+ * This file is part of the GROMACS molecular simulation package.
+ *
+ * Copyright (c) 2019, by the GROMACS development team, led by
+ * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+ * and including many others, as listed in the AUTHORS file in the
+ * top-level source directory and at http://www.gromacs.org.
+ *
+ * GROMACS is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GROMACS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GROMACS; if not, see
+ * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ *
+ * If you want to redistribute modifications to GROMACS, please
+ * consider that scientific software is very special. Version
+ * control is crucial - bugs must be traceable. We will be happy to
+ * consider code for inclusion in the official distribution, but
+ * derived work must not be called official GROMACS. Details are found
+ * in the README & COPYING files - if they are missing, get the
+ * official version at http://www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the research papers on the package. Check out http://www.gromacs.org.
+ */
+/*! \internal \file
+ * \brief Common functions for the different NBNXN GPU implementations.
+ *
+ * \author Berk Hess <hess@kth.se>
+ *
+ * \ingroup module_nbnxm
+ */
+
+#include "gmxpre.h"
+
+#include "gromacs/domdec/domdec.h"
+#include "gromacs/domdec/domdec_struct.h"
+#include "gromacs/hardware/hw_info.h"
+#include "gromacs/mdlib/gmx_omp_nthreads.h"
+#include "gromacs/mdtypes/commrec.h"
+#include "gromacs/mdtypes/forcerec.h"
+#include "gromacs/mdtypes/inputrec.h"
+#include "gromacs/nbnxm/atomdata.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_geometry.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
+#include "gromacs/nbnxm/pairlist_tuning.h"
+#include "gromacs/simd/simd.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/logger.h"
+
+#include "internal.h"
+
+/*! \brief Returns whether CPU SIMD support exists for the given inputrec
+ *
+ * If the return value is FALSE and fplog/cr != NULL, prints a fallback
+ * message to fplog/stderr.
+ */
+static gmx_bool nbnxn_simd_supported(const gmx::MDLogger &mdlog,
+                                     const t_inputrec    *ir)
+{
+    if (ir->vdwtype == evdwPME && ir->ljpme_combination_rule == eljpmeLB)
+    {
+        /* LJ PME with LB combination rule does 7 mesh operations.
+         * This so slow that we don't compile SIMD non-bonded kernels
+         * for that. */
+        GMX_LOG(mdlog.warning).asParagraph().appendText("LJ-PME with Lorentz-Berthelot is not supported with SIMD kernels, falling back to plain C kernels");
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/*! \brief Returns the most suitable CPU kernel type and Ewald handling */
+static void pick_nbnxn_kernel_cpu(const t_inputrec gmx_unused    *ir,
+                                  int                            *kernel_type,
+                                  int                            *ewald_excl,
+                                  const gmx_hw_info_t gmx_unused &hardwareInfo)
+{
+    *kernel_type = nbnxnk4x4_PlainC;
+    *ewald_excl  = ewaldexclTable;
+
+#if GMX_SIMD
+    {
+#ifdef GMX_NBNXN_SIMD_4XN
+        *kernel_type = nbnxnk4xN_SIMD_4xN;
+#endif
+#ifdef GMX_NBNXN_SIMD_2XNN
+        *kernel_type = nbnxnk4xN_SIMD_2xNN;
+#endif
+
+#if defined GMX_NBNXN_SIMD_2XNN && defined GMX_NBNXN_SIMD_4XN
+        /* We need to choose if we want 2x(N+N) or 4xN kernels.
+         * This is based on the SIMD acceleration choice and CPU information
+         * detected at runtime.
+         *
+         * 4xN calculates more (zero) interactions, but has less pair-search
+         * work and much better kernel instruction scheduling.
+         *
+         * Up till now we have only seen that on Intel Sandy/Ivy Bridge,
+         * which doesn't have FMA, both the analytical and tabulated Ewald
+         * kernels have similar pair rates for 4x8 and 2x(4+4), so we choose
+         * 2x(4+4) because it results in significantly fewer pairs.
+         * For RF, the raw pair rate of the 4x8 kernel is higher than 2x(4+4),
+         * 10% with HT, 50% without HT. As we currently don't detect the actual
+         * use of HT, use 4x8 to avoid a potential performance hit.
+         * On Intel Haswell 4x8 is always faster.
+         */
+        *kernel_type = nbnxnk4xN_SIMD_4xN;
+
+#if !GMX_SIMD_HAVE_FMA
+        if (EEL_PME_EWALD(ir->coulombtype) ||
+            EVDW_PME(ir->vdwtype))
+        {
+            /* We have Ewald kernels without FMA (Intel Sandy/Ivy Bridge).
+             * There are enough instructions to make 2x(4+4) efficient.
+             */
+            *kernel_type = nbnxnk4xN_SIMD_2xNN;
+        }
+#endif
+        if (hardwareInfo.haveAmdZenCpu)
+        {
+            /* One 256-bit FMA per cycle makes 2xNN faster */
+            *kernel_type = nbnxnk4xN_SIMD_2xNN;
+        }
+#endif  /* GMX_NBNXN_SIMD_2XNN && GMX_NBNXN_SIMD_4XN */
+
+
+        if (getenv("GMX_NBNXN_SIMD_4XN") != nullptr)
+        {
+#ifdef GMX_NBNXN_SIMD_4XN
+            *kernel_type = nbnxnk4xN_SIMD_4xN;
+#else
+            gmx_fatal(FARGS, "SIMD 4xN kernels requested, but GROMACS has been compiled without support for these kernels");
+#endif
+        }
+        if (getenv("GMX_NBNXN_SIMD_2XNN") != nullptr)
+        {
+#ifdef GMX_NBNXN_SIMD_2XNN
+            *kernel_type = nbnxnk4xN_SIMD_2xNN;
+#else
+            gmx_fatal(FARGS, "SIMD 2x(N+N) kernels requested, but GROMACS has been compiled without support for these kernels");
+#endif
+        }
+
+        /* Analytical Ewald exclusion correction is only an option in
+         * the SIMD kernel.
+         * Since table lookup's don't parallelize with SIMD, analytical
+         * will probably always be faster for a SIMD width of 8 or more.
+         * With FMA analytical is sometimes faster for a width if 4 as well.
+         * In single precision, this is faster on Bulldozer.
+         */
+#if GMX_SIMD_REAL_WIDTH >= 8 || \
+        (GMX_SIMD_REAL_WIDTH >= 4 && GMX_SIMD_HAVE_FMA && !GMX_DOUBLE)
+        /* On AMD Zen, tabulated Ewald kernels are faster on all 4 combinations
+         * of single or double precision and 128 or 256-bit AVX2.
+         */
+        if (!hardwareInfo.haveAmdZenCpu)
+        {
+            *ewald_excl = ewaldexclAnalytical;
+        }
+#endif
+        if (getenv("GMX_NBNXN_EWALD_TABLE") != nullptr)
+        {
+            *ewald_excl = ewaldexclTable;
+        }
+        if (getenv("GMX_NBNXN_EWALD_ANALYTICAL") != nullptr)
+        {
+            *ewald_excl = ewaldexclAnalytical;
+        }
+
+    }
+#endif // GMX_SIMD
+}
+
+const char *lookup_nbnxn_kernel_name(int kernel_type)
+{
+    const char *returnvalue = nullptr;
+    switch (kernel_type)
+    {
+        case nbnxnkNotSet:
+            returnvalue = "not set";
+            break;
+        case nbnxnk4x4_PlainC:
+            returnvalue = "plain C";
+            break;
+        case nbnxnk4xN_SIMD_4xN:
+        case nbnxnk4xN_SIMD_2xNN:
+#if GMX_SIMD
+            returnvalue = "SIMD";
+#else  // GMX_SIMD
+            returnvalue = "not available";
+#endif // GMX_SIMD
+            break;
+        case nbnxnk8x8x8_GPU: returnvalue    = "GPU"; break;
+        case nbnxnk8x8x8_PlainC: returnvalue = "plain C"; break;
+
+        case nbnxnkNR:
+        default:
+            gmx_fatal(FARGS, "Illegal kernel type selected");
+    }
+    return returnvalue;
+};
+
+/*! \brief Returns the most suitable kernel type and Ewald handling */
+static void pick_nbnxn_kernel(const gmx::MDLogger &mdlog,
+                              gmx_bool             use_simd_kernels,
+                              const gmx_hw_info_t &hardwareInfo,
+                              gmx_bool             bUseGPU,
+                              EmulateGpuNonbonded  emulateGpu,
+                              const t_inputrec    *ir,
+                              int                 *kernel_type,
+                              int                 *ewald_excl,
+                              gmx_bool             bDoNonbonded)
+{
+    GMX_RELEASE_ASSERT(kernel_type, "Need a valid kernel_type pointer");
+
+    *kernel_type = nbnxnkNotSet;
+    *ewald_excl  = ewaldexclTable;
+
+    if (emulateGpu == EmulateGpuNonbonded::Yes)
+    {
+        *kernel_type = nbnxnk8x8x8_PlainC;
+
+        if (bDoNonbonded)
+        {
+            GMX_LOG(mdlog.warning).asParagraph().appendText("Emulating a GPU run on the CPU (slow)");
+        }
+    }
+    else if (bUseGPU)
+    {
+        *kernel_type = nbnxnk8x8x8_GPU;
+    }
+
+    if (*kernel_type == nbnxnkNotSet)
+    {
+        if (use_simd_kernels &&
+            nbnxn_simd_supported(mdlog, ir))
+        {
+            pick_nbnxn_kernel_cpu(ir, kernel_type, ewald_excl, hardwareInfo);
+        }
+        else
+        {
+            *kernel_type = nbnxnk4x4_PlainC;
+        }
+    }
+
+    if (bDoNonbonded)
+    {
+        GMX_LOG(mdlog.info).asParagraph().appendTextFormatted(
+                "Using %s %dx%d nonbonded short-range kernels",
+                lookup_nbnxn_kernel_name(*kernel_type),
+                nbnxn_kernel_to_cluster_i_size(*kernel_type),
+                nbnxn_kernel_to_cluster_j_size(*kernel_type));
+
+        if (nbnxnk4x4_PlainC == *kernel_type ||
+            nbnxnk8x8x8_PlainC == *kernel_type)
+        {
+            GMX_LOG(mdlog.warning).asParagraph().appendTextFormatted(
+                    "WARNING: Using the slow %s kernels. This should\n"
+                    "not happen during routine usage on supported platforms.",
+                    lookup_nbnxn_kernel_name(*kernel_type));
+        }
+    }
+}
+
+void init_nb_verlet(const gmx::MDLogger     &mdlog,
+                    nonbonded_verlet_t     **nb_verlet,
+                    gmx_bool                 bFEP_NonBonded,
+                    const t_inputrec        *ir,
+                    const t_forcerec        *fr,
+                    const t_commrec         *cr,
+                    const gmx_hw_info_t     &hardwareInfo,
+                    const gmx_device_info_t *deviceInfo,
+                    const gmx_mtop_t        *mtop,
+                    matrix                   box)
+{
+    nonbonded_verlet_t *nbv;
+    char               *env;
+
+    nbv = new nonbonded_verlet_t();
+
+    nbv->emulateGpu = ((getenv("GMX_EMULATE_GPU") != nullptr) ? EmulateGpuNonbonded::Yes : EmulateGpuNonbonded::No);
+    nbv->bUseGPU    = deviceInfo != nullptr;
+
+    GMX_RELEASE_ASSERT(!(nbv->emulateGpu == EmulateGpuNonbonded::Yes && nbv->bUseGPU), "When GPU emulation is active, there cannot be a GPU assignment");
+
+    nbv->nbs             = nullptr;
+    nbv->min_ci_balanced = 0;
+
+    nbv->ngrp = (DOMAINDECOMP(cr) ? 2 : 1);
+    for (int i = 0; i < nbv->ngrp; i++)
+    {
+        nbv->grp[i].nbl_lists.nnbl = 0;
+        nbv->grp[i].kernel_type    = nbnxnkNotSet;
+
+        if (i == 0) /* local */
+        {
+            pick_nbnxn_kernel(mdlog, fr->use_simd_kernels, hardwareInfo,
+                              nbv->bUseGPU, nbv->emulateGpu, ir,
+                              &nbv->grp[i].kernel_type,
+                              &nbv->grp[i].ewald_excl,
+                              fr->bNonbonded);
+        }
+        else /* non-local */
+        {
+            /* Use the same kernel for local and non-local interactions */
+            nbv->grp[i].kernel_type = nbv->grp[0].kernel_type;
+            nbv->grp[i].ewald_excl  = nbv->grp[0].ewald_excl;
+        }
+    }
+
+    nbv->listParams = std::make_unique<NbnxnListParameters>(ir->rlist);
+    setupDynamicPairlistPruning(mdlog, ir, mtop, box, nbv->grp[0].kernel_type, fr->ic,
+                                nbv->listParams.get());
+
+    nbv->nbs = std::make_unique<nbnxn_search>(DOMAINDECOMP(cr) ? &cr->dd->nc : nullptr,
+                                              DOMAINDECOMP(cr) ? domdec_zones(cr->dd) : nullptr,
+                                              bFEP_NonBonded,
+                                              gmx_omp_nthreads_get(emntPairsearch));
+
+    for (int i = 0; i < nbv->ngrp; i++)
+    {
+        nbnxn_init_pairlist_set(&nbv->grp[i].nbl_lists,
+                                nbnxn_kernel_pairlist_simple(nbv->grp[i].kernel_type),
+                                /* 8x8x8 "non-simple" lists are ATM always combined */
+                                !nbnxn_kernel_pairlist_simple(nbv->grp[i].kernel_type));
+    }
+
+    int      enbnxninitcombrule;
+    if (fr->ic->vdwtype == evdwCUT &&
+        (fr->ic->vdw_modifier == eintmodNONE ||
+         fr->ic->vdw_modifier == eintmodPOTSHIFT) &&
+        getenv("GMX_NO_LJ_COMB_RULE") == nullptr)
+    {
+        /* Plain LJ cut-off: we can optimize with combination rules */
+        enbnxninitcombrule = enbnxninitcombruleDETECT;
+    }
+    else if (fr->ic->vdwtype == evdwPME)
+    {
+        /* LJ-PME: we need to use a combination rule for the grid */
+        if (fr->ljpme_combination_rule == eljpmeGEOM)
+        {
+            enbnxninitcombrule = enbnxninitcombruleGEOM;
+        }
+        else
+        {
+            enbnxninitcombrule = enbnxninitcombruleLB;
+        }
+    }
+    else
+    {
+        /* We use a full combination matrix: no rule required */
+        enbnxninitcombrule = enbnxninitcombruleNONE;
+    }
+
+    nbv->nbat = new nbnxn_atomdata_t(nbv->bUseGPU ? gmx::PinningPolicy::PinnedIfSupported : gmx::PinningPolicy::CannotBePinned);
+    int mimimumNumEnergyGroupNonbonded = ir->opts.ngener;
+    if (ir->opts.ngener - ir->nwall == 1)
+    {
+        /* We have only one non-wall energy group, we do not need energy group
+         * support in the non-bondeds kernels, since all non-bonded energy
+         * contributions go to the first element of the energy group matrix.
+         */
+        mimimumNumEnergyGroupNonbonded = 1;
+    }
+    bool bSimpleList = nbnxn_kernel_pairlist_simple(nbv->grp[0].kernel_type);
+    nbnxn_atomdata_init(mdlog,
+                        nbv->nbat,
+                        nbv->grp[0].kernel_type,
+                        enbnxninitcombrule,
+                        fr->ntype, fr->nbfp,
+                        mimimumNumEnergyGroupNonbonded,
+                        bSimpleList ? gmx_omp_nthreads_get(emntNonbonded) : 1);
+
+    if (nbv->bUseGPU)
+    {
+        /* init the NxN GPU data; the last argument tells whether we'll have
+         * both local and non-local NB calculation on GPU */
+        nbnxn_gpu_init(&nbv->gpu_nbv,
+                       deviceInfo,
+                       fr->ic,
+                       nbv->listParams.get(),
+                       nbv->nbat,
+                       cr->nodeid,
+                       (nbv->ngrp > 1));
+
+        if ((env = getenv("GMX_NB_MIN_CI")) != nullptr)
+        {
+            char *end;
+
+            nbv->min_ci_balanced = strtol(env, &end, 10);
+            if (!end || (*end != 0) || nbv->min_ci_balanced < 0)
+            {
+                gmx_fatal(FARGS, "Invalid value passed in GMX_NB_MIN_CI=%s, non-negative integer required", env);
+            }
+
+            if (debug)
+            {
+                fprintf(debug, "Neighbor-list balancing parameter: %d (passed as env. var.)\n",
+                        nbv->min_ci_balanced);
+            }
+        }
+        else
+        {
+            nbv->min_ci_balanced = nbnxn_gpu_min_ci_balanced(nbv->gpu_nbv);
+            if (debug)
+            {
+                fprintf(debug, "Neighbor-list balancing parameter: %d (auto-adjusted to the number of GPU multi-processors)\n",
+                        nbv->min_ci_balanced);
+            }
+        }
+
+    }
+
+    *nb_verlet = nbv;
+}
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_simd.h
rename to src/gromacs/nbnxm/nbnxm_simd.h
index f845ffc596e14fa030cf01864b6826bf1022c498..640cc4554fcc0a5436964e948b962a143ce4e714 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -33,8 +33,8 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _nbnxn_simd_h
-#define _nbnxn_simd_h
+#ifndef GMX_NBNXM_NBNXM_SIMD_H
+#define GMX_NBNXM_NBNXM_SIMD_H
 
 #include "gromacs/math/vectypes.h"
 #include "gromacs/simd/simd.h"
similarity index 88%
rename from src/gromacs/mdlib/nbnxn_ocl/CMakeLists.txt
rename to src/gromacs/nbnxm/opencl/CMakeLists.txt
index 0e837390c0cdb6d686f0541c0bcefbc6b51faeae..087161278f886fc0ffdedc16ed24835d9f27748e 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013,2014,2015,2018, by the GROMACS development team, led by
+# Copyright (c) 2012,2013,2014,2015,2018,2019, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -34,7 +34,7 @@
 
 if(GMX_USE_OPENCL)
     file(GLOB OPENCL_NB_SOURCES *.cpp)
-    set(MDLIB_SOURCES ${MDLIB_SOURCES} ${OPENCL_NB_SOURCES} PARENT_SCOPE)
+    set(NBNXM_SOURCES ${NBNXM_SOURCES} ${OPENCL_NB_SOURCES} PARENT_SCOPE)
 endif()
 
 set(ELEC_DEFS
@@ -68,19 +68,19 @@ foreach(ELEC_DEF IN LISTS ELEC_DEFS)
             endif()
             string(REGEX REPLACE ".*=" "" ELEC_NAME "${ELEC_DEF}")
             string(REGEX REPLACE ".*=" "" VDW_NAME "${VDW_DEF}")
-            set(OBJ_FILE nbnxn_ocl_kernel${ELEC_NAME}${VDW_NAME}_${VENDOR}.o)
+            set(OBJ_FILE nbnxm_ocl_kernel${ELEC_NAME}${VDW_NAME}_${VENDOR}.o)
             add_custom_command(OUTPUT ${OBJ_FILE} COMMAND ${OCL_COMPILER}
-                ${CMAKE_CURRENT_SOURCE_DIR}/nbnxn_ocl_kernels.cl ${CLANG_TIDY_ARGS}
+                ${CMAKE_CURRENT_SOURCE_DIR}/nbnxm_ocl_kernels.cl ${CLANG_TIDY_ARGS}
                 -Xclang -finclude-default-header  -D_${VENDOR}_SOURCE_
                 -DGMX_OCL_FASTGEN ${ELEC_DEF} ${VDW_DEF}
-                -DNBNXN_GPU_CLUSTER_SIZE=${CLUSTER_SIZE} -DIATYPE_SHMEM
+                -DNBNXM_GPU_CLUSTER_SIZE=${CLUSTER_SIZE} -DIATYPE_SHMEM
                 -c -I ${CMAKE_SOURCE_DIR}/src -std=cl1.2
                 -Weverything  -Wno-conversion -Wno-missing-variable-declarations -Wno-used-but-marked-unused
                 -Wno-cast-align -Wno-incompatible-pointer-types
                 -o${OBJ_FILE}
                 )
-            list(APPEND NBNXN_OCL_KERNELS ${OBJ_FILE})
+            list(APPEND NBNXM_OCL_KERNELS ${OBJ_FILE})
         endforeach()
     endforeach()
 endforeach()
-add_custom_target(ocl_kernel DEPENDS ${NBNXN_OCL_KERNELS})
+add_custom_target(ocl_kernel DEPENDS ${NBNXM_OCL_KERNELS})
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl.cpp
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl.cpp
index 8908f3fb2e36937edeeb8ed314bd4d0348c53c9c..8aac82d3d34f4253e0a7d69a3ce77b41b34e32bd 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 /*! \internal \file
- *  \brief Define OpenCL implementation of nbnxn_gpu.h
+ *  \brief Define OpenCL implementation of nbnxm_gpu.h
  *
  *  \author Anca Hamuraru <anca@streamcomputing.eu>
  *  \author Teemu Virolainen <teemu@streamcomputing.eu>
  *  \author Dimitrios Karkoulis <dimitris.karkoulis@gmail.com>
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  *
  *  TODO (psz):
  *  - Add a static const cl_uint c_pruneKernelWorkDim / c_nbnxnKernelWorkDim = 3;
 #include "gromacs/gpu_utils/oclutils.h"
 #include "gromacs/hardware/hw_info.h"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_gpu.h"
-#include "gromacs/mdlib/nbnxn_gpu_common.h"
-#include "gromacs/mdlib/nbnxn_gpu_common_utils.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/gpu_common.h"
+#include "gromacs/nbnxm/gpu_common_utils.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_gpu.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/timing/gpu_timing.h"
 #include "gromacs/utility/cstringutil.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/gmxassert.h"
 
-#include "nbnxn_ocl_internal.h"
-#include "nbnxn_ocl_types.h"
-
+#include "nbnxm_ocl_internal.h"
+#include "nbnxm_ocl_types.h"
 
 /*! \brief Convenience constants */
 //@{
@@ -151,7 +149,7 @@ static inline void validate_global_work_size(const KernelLaunchConfig &config, i
  *
  *  Note that the row- and column-order of function pointers has to match the
  *  order of corresponding enumerated electrostatics and vdw types, resp.,
- *  defined in nbnxn_cuda_types.h.
+ *  defined in nbnxm_ocl_types.h.
  */
 
 /*! \brief Force-only kernel function names. */
similarity index 91%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_consts.h
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_consts.h
index 4a542686ed4ae97599213394ff40a564bfc8c3c3..c2380121d495cb415ad17d27bdacd453a3978ccf 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -35,7 +35,8 @@
 #ifndef NBNXN_OPENCL_CONSTS_H
 #define NBNXN_OPENCL_CONSTS_H
 
-/*! \brief Macros defining platform-dependent defaults for the prune kernel's j4 processing concurrency.
+/*! \internal \file
+ * \brief Macros defining platform-dependent defaults for the prune kernel's j4 processing concurrency.
  *
  *  The GMX_NBNXN_PRUNE_KERNEL_J4_CONCURRENCY macro allows compile-time override.
  */
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_data_mgmt.cpp
index d164d268316118220b50bd871a99aaa57f86fad1..27a2cd806e103128592236943a20c22cd05745d9 100644 (file)
@@ -33,7 +33,7 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 /*! \internal \file
- *  \brief Define OpenCL implementation of nbnxn_gpu_data_mgmt.h
+ *  \brief Define OpenCL implementation of nbnxm_gpu_data_mgmt.h
  *
  *  \author Anca Hamuraru <anca@streamcomputing.eu>
  *  \author Dimitrios Karkoulis <dimitris.karkoulis@gmail.com>
 #include "gromacs/hardware/gpu_hw_info.h"
 #include "gromacs/math/vectypes.h"
 #include "gromacs/mdlib/force_flags.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_gpu.h"
-#include "gromacs/mdlib/nbnxn_gpu_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_gpu_jit_support.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/gpu_data_mgmt.h"
+#include "gromacs/nbnxm/gpu_jit_support.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_gpu.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/timing/gpu_timing.h"
 #include "gromacs/utility/cstringutil.h"
@@ -70,8 +69,8 @@
 #include "gromacs/utility/real.h"
 #include "gromacs/utility/smalloc.h"
 
-#include "nbnxn_ocl_internal.h"
-#include "nbnxn_ocl_types.h"
+#include "nbnxm_ocl_internal.h"
+#include "nbnxm_ocl_types.h"
 
 /*! \brief This parameter should be determined heuristically from the
  * kernel execution times
similarity index 93%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_internal.h
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_internal.h
index ff473b519e53d9bbd03d03b4cca39e57fc800326..318e72623dfb20928e3345c7c082333c7fbcb722 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *  \brief Internal API of the OpenCL non-bonded module.
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
 #include "gmxpre.h"
 
-#include "nbnxn_ocl_types.h"
+#include "nbnxm_ocl_types.h"
 
 #ifndef NBNXN_OCL_INTERNAL_H
 #define NBNXN_OCL_INTERNAL_H
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_jit_support.cpp
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_jit_support.cpp
index 14328f0b74c2aef52d08e7416e4ac03890b2c9e0..7354275d20f7d2e1891ec8853c83f588e40632d7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -37,7 +37,7 @@
  *
  *  \author Dimitrios Karkoulis <dimitris.karkoulis@gmail.com>
  *  \author Mark Abraham <mark.j.abraham@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 #include "gmxpre.h"
 
 
 #include "gromacs/gpu_utils/gpu_utils.h"
 #include "gromacs/gpu_utils/ocl_compiler.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_gpu.h"
-#include "gromacs/mdlib/nbnxn_gpu_jit_support.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/gpu_jit_support.h"
+#include "gromacs/nbnxm/nbnxm_gpu.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/utility/cstringutil.h"
 #include "gromacs/utility/exceptions.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/stringutil.h"
 
-#include "nbnxn_ocl_types.h"
+#include "nbnxm_ocl_types.h"
 
 /*! \brief Stringifies the input argument
  */
@@ -193,10 +192,10 @@ nbnxn_gpu_compile_kernels(gmx_nbnxn_ocl_t *nb)
                                                              nb->nbparam->vdwtype);
 
         /* Here we pass macros and static const int variables defined
-         * in include files outside the nbnxn_ocl as macros, to avoid
+         * in include files outside the opencl as macros, to avoid
          * including those files in the JIT compilation that happens
          * at runtime. This is particularly a problem for headers that
-         * depend on config.h, such as nbnxn_pairlist.h. */
+         * depend on config.h, such as pairlist.h. */
         extraDefines += gmx::formatString(
                     " -DNBNXN_GPU_CLUSTER_SIZE=%d "
                     "%s",
@@ -208,8 +207,8 @@ nbnxn_gpu_compile_kernels(gmx_nbnxn_ocl_t *nb)
             /* TODO when we have a proper MPI-aware logging module,
                the log output here should be written there */
             program = gmx::ocl::compileProgram(stderr,
-                                               "gromacs/mdlib/nbnxn_ocl",
-                                               "nbnxn_ocl_kernels.cl",
+                                               "gromacs/nbnxm/opencl",
+                                               "nbnxm_ocl_kernels.cl",
                                                extraDefines,
                                                nb->dev_rundata->context,
                                                nb->dev_info->ocl_gpu_id.ocl_device_id,
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel.clh
index 238711401a94fe3f819ad9ac944fc9b329a42271..c42b0c30e54a70fc09214432c56557e5abb75e16 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *
  *  \author Anca Hamuraru <anca@streamcomputing.eu>
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
 /* Currently we enable CJ prefetch for AMD/NVIDIA and disable it for the "nowarp" kernel
  * Note that this should precede the kernel_utils include.
  */
-#include "nbnxn_ocl_kernel_utils.clh"
+#include "nbnxm_ocl_kernel_utils.clh"
 
 /////////////////////////////////////////////////////////////////////////////////////////////////
 
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_pruneonly.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel_pruneonly.clh
index 14d993c66b84e8847798afb0a2dcf4d5b38543e4..6b1debe10590690423b1ec4b2390e84d634dc37a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *  OpenCL 1.2 support is expected; tested on AMD GCN and NVIDIA CC >3.0.
  *
  *  \author Szilárd Páll <pall.szilard@gmail.com>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
-#include "nbnxn_ocl_kernel_utils.clh"
+#include "nbnxm_ocl_kernel_utils.clh"
 
 /* Note: the AMD compiler testing was done with (fglrx 15.12) performs best with wg
  * size 256 (this is an artificial compiler limitation). The compiler is also
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernel_utils.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernel_utils.clh
index 54377cb66e79db4717b4847402b6eee7b86cb120..74fcc398ac8080973c369dd0727da5c987ff5fbb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 
 #include "gromacs/gpu_utils/device_utils.clh"
 #include "gromacs/gpu_utils/vectype_ops.clh"
-#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/nbnxm/constants.h"
 #include "gromacs/pbcutil/ishift.h"
 
-#include "nbnxn_ocl_consts.h"
+#include "nbnxm_ocl_consts.h"
 
 #define CL_SIZE                 (NBNXN_GPU_CLUSTER_SIZE)
 #define NCL_PER_SUPERCL         c_nbnxnGpuNumClusterPerSupercluster
similarity index 89%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels.cl
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels.cl
index b5868ec870ad09b084d4a5c004fe4b680364da22..528754b17bd38de619616a27c450137923e9eed0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -52,16 +52,16 @@ zero_e_fshift(__global float *fshift, __global float *e_lj, __global float *e_el
 
 /* Generate pruning kernels. */
 #define HAVE_FRESH_LIST 1
-#include "nbnxn_ocl_kernel_pruneonly.clh"
+#include "nbnxm_ocl_kernel_pruneonly.clh"
 #undef HAVE_FRESH_LIST
-#include "nbnxn_ocl_kernel_pruneonly.clh"
+#include "nbnxm_ocl_kernel_pruneonly.clh"
 
 #if defined GMX_OCL_FASTGEN
-    #define FLAVOR_LEVEL_GENERATOR "nbnxn_ocl_kernels_fastgen.clh"
+    #define FLAVOR_LEVEL_GENERATOR "nbnxm_ocl_kernels_fastgen.clh"
 #elif defined GMX_OCL_FASTGEN_ADD_TWINCUT
-    #define FLAVOR_LEVEL_GENERATOR "nbnxn_ocl_kernels_fastgen_add_twincut.clh"
+    #define FLAVOR_LEVEL_GENERATOR "nbnxm_ocl_kernels_fastgen_add_twincut.clh"
 #else
-    #define FLAVOR_LEVEL_GENERATOR "nbnxn_ocl_kernels.clh"
+    #define FLAVOR_LEVEL_GENERATOR "nbnxm_ocl_kernels.clh"
 #endif
 
 /* Top-level kernel generation: will generate through multiple inclusion the
similarity index 87%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels.clh
index e5a07923437eb5bd1d23e6bccaa455d820bbb0e7..5730d24374e45d286817e4858046ec5183cae1c9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2016,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2016,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -46,7 +46,7 @@
  *  NOTE: No include fence as it is meant to be included multiple times.
  */
 
-#include "nbnxn_ocl_kernel_utils.clh"
+#include "nbnxm_ocl_kernel_utils.clh"
 
 /* Analytical plain cut-off electrostatics kernels
  */
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecCut_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecRF_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEw_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwTwinCut_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTab_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
 
 /* cut-off + V shift LJ */
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwinCut_VdwLJ ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w geometric combination rules */
 #define LJ_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwin_VdwLJCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* cut-off + V shift LJ w LB combination rules */
 #define LJ_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwin_VdwLJCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w geometric combination rules */
 #define LJ_EWALD_COMB_GEOM
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwinCut_VdwLJEwCombGeom ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_GEOM
 #undef NB_KERNEL_FUNC_NAME
 /* LJ-Ewald w LB combination rules */
 #define LJ_EWALD_COMB_LB
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwinCut_VdwLJEwCombLB ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_EWALD_COMB_LB
 #undef NB_KERNEL_FUNC_NAME
 /* F switch LJ */
 #define LJ_FORCE_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwinCut_VdwLJFsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_FORCE_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 /* V switch LJ */
 #define LJ_POT_SWITCH
 #define NB_KERNEL_FUNC_NAME(x, y) x ## _ElecEwQSTabTwinCut_VdwLJPsw ## y
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 #undef LJ_POT_SWITCH
 #undef NB_KERNEL_FUNC_NAME
 
similarity index 94%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels_fastgen.clh
index 2930ccd15bca57a71c356622c9439c92cc337719..a5b30ec04515cd34f055864389460aeb312715df 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  *  NOTE: No include fence as it is meant to be included multiple times.
  */
 
-#include "nbnxn_ocl_kernel_utils.clh"
+#include "nbnxm_ocl_kernel_utils.clh"
 
 #define NB_INDIRECT_1(x, eel, vdw, y) x ## eel ## vdw ## y
 #define NB_INDIRECT_2(x, eel, vdw, y) NB_INDIRECT_1(x, eel, vdw, y)
 #define NB_KERNEL_FUNC_NAME(x, y)  NB_INDIRECT_2(x, EELNAME, VDWNAME, y)
 
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 
 #undef NB_KERNEL_FUNC_NAME
similarity index 93%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_kernels_fastgen_add_twincut.clh
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_kernels_fastgen_add_twincut.clh
index d5f82880ec365d07a93d9609a120b49c77a233bc..ac072959b66924ef15b78fe84e19ec95bbec10c7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -46,7 +46,7 @@
  *  NOTE: No include fence as it is meant to be included multiple times.
  */
 
-#include "nbnxn_ocl_kernel_utils.clh"
+#include "nbnxm_ocl_kernel_utils.clh"
 
 /* Define the single-cutoff version of the kernel */
 
@@ -54,7 +54,7 @@
 #define NB_INDIRECT_2(x, eel, vdw, y) NB_INDIRECT_1(x, eel, vdw, y)
 #define NB_KERNEL_FUNC_NAME(x, y)  NB_INDIRECT_2(x, EELNAME, VDWNAME, y)
 
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 
 #undef NB_KERNEL_FUNC_NAME
 
@@ -66,7 +66,7 @@
 
 #define VDW_CUTOFF_CHECK
 
-#include "nbnxn_ocl_kernel.clh"
+#include "nbnxm_ocl_kernel.clh"
 
 #undef NB_KERNEL_FUNC_NAME
 #undef VDW_CUTOFF_CHECK
similarity index 97%
rename from src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_types.h
rename to src/gromacs/nbnxm/opencl/nbnxm_ocl_types.h
index b56afd64554fcc5dfe8507e8e1e52ddd04ac6010..75279fb3cde931264759b5e694570c98d69f3e33 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 
 /*! \internal \file
  *  \brief
- *  Data types used internally in the nbnxn_ocl module.
+ *  Data types used internally in the nbnxm_ocl module.
  *
  *  \author Anca Hamuraru <anca@streamcomputing.eu>
  *  \author Szilárd Páll <pszilard@kth.se>
- *  \ingroup module_mdlib
+ *  \ingroup module_nbnxm
  */
 
-#ifndef NBNXN_OPENCL_TYPES_H
-#define NBNXN_OPENCL_TYPES_H
+#ifndef GMX_NBNXM_NBNXM_OPENCL_TYPES_H
+#define GMX_NBNXM_NBNXM_OPENCL_TYPES_H
 
 #include "gromacs/gpu_utils/devicebuffer.h"
 #include "gromacs/gpu_utils/gmxopencl.h"
 #include "gromacs/gpu_utils/gputraits_ocl.h"
 #include "gromacs/gpu_utils/oclutils.h"
-#include "gromacs/mdlib/nbnxn_gpu_types_common.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
-#include "gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_consts.h"
 #include "gromacs/mdtypes/interaction_const.h"
+#include "gromacs/nbnxm/gpu_types_common.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/real.h"
 
+#include "nbnxm_ocl_consts.h"
+
 /* kernel does #include "gromacs/math/utilities.h" */
 /* Move the actual useful stuff here: */
 
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_search.cpp
rename to src/gromacs/nbnxm/pairlist.cpp
index 10359ab5ab8f2fcff5b23e72b326b964a4adc8d0..1877af16a8b31278ff05bba3b7cf69752ca0dc5d 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "gmxpre.h"
 
-#include "nbnxn_search.h"
+#include "pairlist.h"
 
 #include "config.h"
 
 #include "gromacs/math/utilities.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_atomdata.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
-#include "gromacs/mdlib/nbnxn_grid.h"
-#include "gromacs/mdlib/nbnxn_internal.h"
-#include "gromacs/mdlib/nbnxn_simd.h"
-#include "gromacs/mdlib/nbnxn_util.h"
 #include "gromacs/mdlib/ns.h"
 #include "gromacs/mdtypes/group.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/atomdata.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/nbnxm_geometry.h"
+#include "gromacs/nbnxm/nbnxm_simd.h"
+#include "gromacs/nbnxm/pairlistset.h"
 #include "gromacs/pbcutil/ishift.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/simd/simd.h"
@@ -71,6 +69,8 @@
 #include "gromacs/utility/gmxomp.h"
 #include "gromacs/utility/smalloc.h"
 
+#include "internal.h"
+
 using namespace gmx; // TODO: Remove when this file is moved into gmx namespace
 
 
@@ -1220,10 +1220,10 @@ makeClusterListSimple(const nbnxn_grid_t       &jGrid,
 }
 
 #ifdef GMX_NBNXN_SIMD_4XN
-#include "gromacs/mdlib/nbnxn_search_simd_4xn.h"
+#include "gromacs/nbnxm/pairlist_simd_4xm.h"
 #endif
 #ifdef GMX_NBNXN_SIMD_2XNN
-#include "gromacs/mdlib/nbnxn_search_simd_2xnn.h"
+#include "gromacs/nbnxm/pairlist_simd_2xmm.h"
 #endif
 
 /* Plain C or SIMD4 code for making a pair list of super-cell sci vs scj.
similarity index 98%
rename from src/gromacs/mdlib/nbnxn_pairlist.h
rename to src/gromacs/nbnxm/pairlist.h
index d4dc4851525d17dc5fb95ac79b19f2a4b48b95f0..74bf78fc8fd71bc6483d49c025ccccd31277e7a9 100644 (file)
@@ -33,8 +33,8 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _nbnxn_pairlist_h
-#define _nbnxn_pairlist_h
+#ifndef GMX_NBNXM_PAIRLIST_H
+#define GMX_NBNXM_PAIRLIST_H
 
 #include "config.h"
 
 
 #include "gromacs/gpu_utils/hostallocator.h"
 #include "gromacs/math/vectypes.h"
-#include "gromacs/mdlib/nbnxn_consts.h"
 #include "gromacs/mdtypes/nblist.h"
 #include "gromacs/utility/basedefinitions.h"
 #include "gromacs/utility/bitmask.h"
 #include "gromacs/utility/defaultinitializationallocator.h"
 #include "gromacs/utility/real.h"
 
+// This file with constants is separate from this file to be able
+// to include it during OpenCL jitting without including config.h
+#include "gromacs/nbnxm/constants.h"
+
 struct NbnxnPairlistCpuWork;
 struct NbnxnPairlistGpuWork;
 struct tMPI_Atomic;
@@ -105,6 +108,7 @@ static constexpr int c_gpuNumClusterPerCellY = 2;
 static constexpr int c_gpuNumClusterPerCellX = 2;
 static constexpr int c_gpuNumClusterPerCell  = c_gpuNumClusterPerCellZ*c_gpuNumClusterPerCellY*c_gpuNumClusterPerCellX;
 
+
 /* In CUDA the number of threads in a warp is 32 and we have cluster pairs
  * of 8*8=64 atoms, so it's convenient to store data for cluster pair halves.
  */
@@ -286,7 +290,8 @@ struct NbnxnPairlistGpu
     gmx_cache_protect_t            cp1;
 };
 
-typedef struct {
+struct nbnxn_pairlist_set_t
+{
     int                nnbl;                  /* number of lists */
     NbnxnPairlistCpu **nbl;                   /* lists for CPU */
     NbnxnPairlistCpu **nbl_work;              /* work space for rebalancing lists */
@@ -299,7 +304,7 @@ typedef struct {
     int                natpair_q;             /* Total number of atom pairs for Q kernel    */
     t_nblist         **nbl_fep;               /* List of free-energy atom pair interactions */
     int64_t            outerListCreationStep; /* Step at which the outer list was created */
-} nbnxn_pairlist_set_t;
+};
 
 enum {
     nbatXYZ, nbatXYZQ, nbatX4, nbatX8
similarity index 99%
rename from src/gromacs/mdlib/nbnxn_tuning.cpp
rename to src/gromacs/nbnxm/pairlist_tuning.cpp
index 258a2bf38692d01d50af44b07366fb6a196015a3..ae3a38d3baa0de6bef4eb2ded199dc5c7ec43d47 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -43,7 +43,7 @@
 
 #include "gmxpre.h"
 
-#include "nbnxn_tuning.h"
+#include "pairlist_tuning.h"
 
 #include <cassert>
 #include <cmath>
 #include "gromacs/hardware/cpuinfo.h"
 #include "gromacs/math/vec.h"
 #include "gromacs/mdlib/calc_verletbuf.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_search.h"
 #include "gromacs/mdtypes/commrec.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/state.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/topology/topology.h"
 #include "gromacs/utility/cstringutil.h"
similarity index 95%
rename from src/gromacs/mdlib/nbnxn_tuning.h
rename to src/gromacs/nbnxm/pairlist_tuning.h
index 47f3f6bf6504799f71ba79e5c53a7f585c5cf00e..a6f82fcddf75b66de5959fa6a62b865601c02d95 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017, by the GROMACS development team, led by
+ * Copyright (c) 2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -43,8 +43,8 @@
  * \ingroup __module_nb_verlet
  */
 
-#ifndef NBNXN_TUNING_H
-#define NBNXN_TUNING_H
+#ifndef NBNXM_PAIRLIST_TUNING_H
+#define NBNXM_PAIRLIST_TUNING_H
 
 #include <stdio.h>
 
@@ -98,4 +98,4 @@ void setupDynamicPairlistPruning(const gmx::MDLogger       &mdlog,
                                  const interaction_const_t *ic,
                                  NbnxnListParameters       *listParams);
 
-#endif /* NBNXN_TUNING_H */
+#endif /* NBNXM_PAIRLIST_TUNING_H */
similarity index 79%
rename from src/gromacs/mdlib/nbnxn_search.h
rename to src/gromacs/nbnxm/pairlistset.h
index a1fa75409f8ec66f8804bd26910177f84b562cba..0e92eb3cde7c16a92a96bdd624a8d2da3a603c4d 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef GMX_MDLIB_NBNXN_SEARCH_H
-#define GMX_MDLIB_NBNXN_SEARCH_H
+#ifndef GMX_NBNXM_PAIRLISTSET_H
+#define GMX_NBNXM_PAIRLISTSET_H
 
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
 
 struct gmx_domdec_zones_t;
 struct gmx_groups_t;
+struct nbnxn_atomdata_t;
+struct nbnxn_pairlist_set_t;
+struct nbnxn_search;
 struct t_blocka;
 struct t_nrnb;
 
+/* Function that should return a pointer *ptr to memory
+ * of size nbytes.
+ * Error handling should be done within this function.
+ */
+typedef void nbnxn_alloc_t (void **ptr, size_t nbytes);
+
+/* Function that should free the memory pointed to by *ptr.
+ * NULL should not be passed to this function.
+ */
+typedef void nbnxn_free_t (void *ptr);
+
 /* Tells if the pair-list corresponding to nb_kernel_type is simple.
  * Returns FALSE for super-sub type pair-list.
  */
@@ -54,10 +70,10 @@ gmx_bool nbnxn_kernel_pairlist_simple(int nb_kernel_type);
 real nbnxn_get_rlist_effective_inc(int cluster_size, real atom_density);
 
 /* Allocates and initializes a pair search data structure */
-nbnxn_search_t nbnxn_init_search(const ivec                *n_dd_cells,
-                                 const gmx_domdec_zones_t  *zones,
-                                 gmx_bool                   bFEP,
-                                 int                        nthread_max);
+nbnxn_search *nbnxn_init_search(const ivec                *n_dd_cells,
+                                const gmx_domdec_zones_t  *zones,
+                                gmx_bool                   bFEP,
+                                int                        nthread_max);
 
 /* Initializes a set of pair lists stored in nbnxn_pairlist_set_t */
 void nbnxn_init_pairlist_set(nbnxn_pairlist_set_t *nbl_list,
@@ -70,7 +86,7 @@ void nbnxn_init_pairlist_set(nbnxn_pairlist_set_t *nbl_list,
  * for the number of equally sized lists is below min_ci_balanced.
  * With perturbed particles, also a group scheme style nbl_fep list is made.
  */
-void nbnxn_make_pairlist(nbnxn_search_t        nbs,
+void nbnxn_make_pairlist(nbnxn_search         *nbs,
                          nbnxn_atomdata_t     *nbat,
                          const t_blocka       *excl,
                          real                  rlist,
similarity index 92%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_prune.cpp
rename to src/gromacs/nbnxm/prunekerneldispatch.cpp
index 0c177dbf8e6cdbb07b4d609339eed98b8fb80ea5..8fb02f0b91fe5271f487913bda1ba2f0a11a1557 100644 (file)
 
 #include "gmxpre.h"
 
-#include "nbnxn_kernel_prune.h"
+#include "prunekerneldispatch.h"
 
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/nbnxm/nbnxm.h"
+#include "gromacs/nbnxm/pairlist.h"
 #include "gromacs/utility/gmxassert.h"
 
-#include "nbnxn_kernel_ref_prune.h"
-#include "simd_2xnn/nbnxn_kernel_simd_2xnn_prune.h"
-#include "simd_4xn/nbnxn_kernel_simd_4xn_prune.h"
-
+#include "kernels_reference/kernel_ref_prune.h"
+#include "kernels_simd_2xmm/kernel_prune.h"
+#include "kernels_simd_4xm/kernel_prune.h"
 
 void nbnxn_kernel_cpu_prune(nonbonded_verlet_group_t *nbvg,
                             const nbnxn_atomdata_t   *nbat,
similarity index 96%
rename from src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_prune.h
rename to src/gromacs/nbnxm/prunekerneldispatch.h
index dfa436a34ae5c9b0d5342bb83344fc0a7a04ac6b..09eaae8b2e5eec987ff7c8bdc07af86ec1fa04e9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -41,6 +41,8 @@
  * The wrapper function internally performs the OpenMP parallelization
  * and calls the selected kernel flavor (different SIMD types / C reference).
  *
+ * \inlibraryapi
+ *
  * \author Berk Hess <hess@kth.se>
  */
 
index b10f236a1e61247a3d2e771e00780fab42083120..5e18aa79483706da3f697d17ad281ca5972a0b3e 100644 (file)
 #include "gromacs/hardware/hardwaretopology.h"
 #include "gromacs/hardware/hw_info.h"
 #include "gromacs/mdlib/gmx_omp_nthreads.h"
-#include "gromacs/mdlib/nb_verlet.h"
 #include "gromacs/mdtypes/commrec.h"
 #include "gromacs/mdtypes/inputrec.h"
 #include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/nbnxm/nbnxm.h"
 #include "gromacs/taskassignment/taskassignment.h"
 #include "gromacs/topology/topology.h"
 #include "gromacs/utility/baseversion.h"