Clean up nbnxm enums
[alexxy/gromacs.git] / src / gromacs / taskassignment / decidegpuusage.h
index 02dcac5512571f55d3b46188d015d8406d483e8d..df0a50d2317eb66a9db68ff7324435e6fe72e20f 100644 (file)
@@ -49,8 +49,6 @@ struct gmx_hw_info_t;
 struct gmx_mtop_t;
 struct t_inputrec;
 
-enum class EmulateGpuNonbonded : bool;
-
 namespace gmx
 {
 
@@ -62,6 +60,15 @@ enum class TaskTarget : int
     Gpu
 };
 
+//! Help pass GPU-emulation parameters with type safety.
+enum class EmulateGpuNonbonded : bool
+{
+    //! Do not emulate GPUs.
+    No,
+    //! Do emulate GPUs.
+    Yes
+};
+
 /*! \brief Decide whether this thread-MPI simulation will run
  * nonbonded tasks on GPUs.
  *