remove legacy CUDA non-bonded kernels
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_cuda / nbnxn_cuda_types.h
index 923fb60a67f65fb1de5e1999bc6e110648c2a8c4..ac9bea9dd2a9f7b14892dd2000b2540a0782ec42 100644 (file)
@@ -63,24 +63,12 @@ extern "C" {
  *  in the CPU kernels, the tabulated kernels are ATM Ewald-only.
  *
  *  The order of pointers to different electrostatic kernels defined in
- *  nbnxn_cuda.cu by the nb_default_kfunc_ptr and nb_legacy_kfunc_ptr arrays
+ *  nbnxn_cuda.cu by the nb_default_kfunc_ptr array
  *  should match the order of enumerated types below. */
 enum {
     eelCuCUT, eelCuRF, eelCuEWALD_TAB, eelCuEWALD_TAB_TWIN, eelCuEWALD_ANA, eelCuEWALD_ANA_TWIN, eelCuNR
 };
 
-/** Kernel flavors with different set of optimizations: default for CUDA <=v4.1
- *  compilers and legacy for earlier, 3.2 and 4.0 CUDA compilers. */
-enum {
-    eNbnxnCuKDefault, eNbnxnCuKLegacy, eNbnxnCuKNR
-};
-
-#define NBNXN_KVER_OLD(k)      (k == eNbnxnCuKOld)
-#define NBNXN_KVER_LEGACY(k)   (k == eNbnxnCuKLegacy)
-#define NBNXN_KVER_DEFAULT(k)  (k == eNbnxnCuKDefault)
-
-/* Non-bonded kernel versions. */
-
 /* All structs prefixed with "cu_" hold data used in GPU calculations and
  * are passed to the kernels, except cu_timers_t. */
 typedef struct cu_plist     cu_plist_t;
@@ -191,8 +179,6 @@ struct cu_timers
 struct nbnxn_cuda
 {
     cuda_dev_info_t *dev_info;       /**< CUDA device information                              */
-    int              kernel_ver;     /**< The version of the kernel to be executed on the
-                                          device in use, possible values: eNbnxnCuK*           */
     bool             bUseTwoStreams; /**< true if doing both local/non-local NB work on GPU    */
     bool             bUseStreamSync; /**< true if the standard cudaStreamSynchronize is used
                                           and not memory polling-based waiting                 */