Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / timing / gpu_timing.h
index ad2fa0bacc1b657f79df764a8469773d57d1d1f4..82d444ea7e00decd7bd858e01df8b719a8dd0d78 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * 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.
@@ -46,8 +46,8 @@
 /*! \internal \brief GPU kernel time and call count. */
 struct gmx_kernel_timing_data_t
 {
-    double  t; /**< Accumulated lapsed time */
-    int     c; /**< Number of calls corresponding to the elapsed time */
+    double t; /**< Accumulated lapsed time */
+    int    c; /**< Number of calls corresponding to the elapsed time */
 };
 
 /*! \internal \brief
@@ -78,16 +78,16 @@ struct gmx_wallclock_gpu_pme_t
 /*! \internal \brief GPU NB timings for kernels and H2d/D2H transfers. */
 struct gmx_wallclock_gpu_nbnxn_t
 {
-    gmx_kernel_timing_data_t ktime[2][2];      /**< table containing the timings of the four
-                                                        versions of the nonbonded kernels: force-only,
-                                                        force+energy, force+pruning, and force+energy+pruning */
-    gmx_kernel_timing_data_t pruneTime;        /**< table containing the timings of the 1st pass prune-only kernels */
+    gmx_kernel_timing_data_t ktime[2][2]; /**< table containing the timings of the four
+                                                   versions of the nonbonded kernels: force-only,
+                                                   force+energy, force+pruning, and force+energy+pruning */
+    gmx_kernel_timing_data_t pruneTime; /**< table containing the timings of the 1st pass prune-only kernels */
     gmx_kernel_timing_data_t dynamicPruneTime; /**< table containing the timings of dynamic prune-only kernels */
-    double                   nb_h2d_t;         /**< host to device transfer time in nb calculation  */
-    double                   nb_d2h_t;         /**< device to host transfer time in nb calculation */
-    int                      nb_c;             /**< total call count of the nonbonded gpu operations */
-    double                   pl_h2d_t;         /**< pair search step host to device transfer time */
-    int                      pl_h2d_c;         /**< pair search step  host to device transfer call count */
+    double                   nb_h2d_t; /**< host to device transfer time in nb calculation  */
+    double                   nb_d2h_t; /**< device to host transfer time in nb calculation */
+    int                      nb_c;     /**< total call count of the nonbonded gpu operations */
+    double                   pl_h2d_t; /**< pair search step host to device transfer time */
+    int                      pl_h2d_c; /**< pair search step  host to device transfer call count */
 };
 
 #endif