Make LJ combination rule enum into an enum class
[alexxy/gromacs.git] / src / gromacs / nbnxm / gpu_data_mgmt.h
index 1bcc676879c2f66ca2b16e2bbb35e21a256ba2ac..5b0c22085c33ca07bab3099db9e09cf5c7826bb0 100644 (file)
@@ -135,7 +135,8 @@ enum ElecType nbnxmGpuPickElectrostaticsKernelType(const interaction_const_t gmx
 
 /** Return the enum value of VdW kernel type for given \p ic and \p combRule. */
 GPU_FUNC_QUALIFIER
-enum VdwType nbnxmGpuPickVdwKernelType(const interaction_const_t gmx_unused* ic, int gmx_unused combRule)
+enum VdwType nbnxmGpuPickVdwKernelType(const interaction_const_t gmx_unused* ic,
+                                       LJCombinationRule gmx_unused ljCombinationRule)
         GPU_FUNC_TERM_WITH_RETURN(VdwType::Count);
 
 /** Returns an opaque pointer to the GPU command stream