Code beautification with uncrustify
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / hw_info.h
index d450be34e84ab4c852be2c25019acabfd5bc8a8c..e054b021b559193f745d91dde7c1ba5d5ebc88b8 100644 (file)
@@ -1,8 +1,8 @@
 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
  *
- * 
+ *
  * This file is part of GROMACS.
- * Copyright (c) 2012-  
+ * Copyright (c) 2012-
  *
  * Written by the Gromacs development team under coordination of
  * David van der Spoel, Berk Hess, and Erik Lindahl.
@@ -14,7 +14,7 @@
  *
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org
- * 
+ *
  * And Hey:
  * Gromacs Runs On Most of All Computer Systems
  */
@@ -51,31 +51,31 @@ static const char * const gpu_detect_res_str[] =
 
 /* GPU device information -- for now with only CUDA devices.
  * The gmx_hardware_detect module initializes it. */
-typedef struct 
+typedef struct
 {
     gmx_bool            bUserSet;       /* true if the GPUs in cuda_dev_use are manually provided by the user */
     gmx_bool            bDevShare;      /* true if any of the devices is shared by
                                            (t)MPI ranks, with auto-detection always FALSE */
 
-    int                 ncuda_dev_use;  /* number of devices selected to be used */
+    int                  ncuda_dev_use; /* number of devices selected to be used */
     int                 *cuda_dev_use;  /* index of the devices selected to be used */
-    int                 ncuda_dev;      /* total number of devices detected */
-    cuda_dev_info_ptr_t cuda_dev;       /* devices detected in the system (per node) */
+    int                  ncuda_dev;     /* total number of devices detected */
+    cuda_dev_info_ptr_t  cuda_dev;      /* devices detected in the system (per node) */
 } gmx_gpu_info_t;
 
 /* Hardware information structure with CPU and GPU information.
  * It is initialized by gmx_detect_hardware(). */
 typedef struct
 {
-    gmx_bool        bCanUseGPU; /* True if compatible GPUs are detected during hardware detection */
-    gmx_gpu_info_t  gpu_info;   /* Information about GPUs detected in the system */
+    gmx_bool        bCanUseGPU;        /* True if compatible GPUs are detected during hardware detection */
+    gmx_gpu_info_t  gpu_info;          /* Information about GPUs detected in the system */
 
-    gmx_cpuid_t     cpuid_info; /* CPUID information about CPU detected;
-                                   NOTE: this will only detect the CPU thread 0 of the
-                                   current process runs on. */
+    gmx_cpuid_t     cpuid_info;        /* CPUID information about CPU detected;
+                                          NOTE: this will only detect the CPU thread 0 of the
+                                          current process runs on. */
     int             nthreads_hw_avail; /* Number of hardware threads available; this number
-                                         is based on the number of CPUs reported as available
-                                         by the OS at the time of detection. */
+                                          is based on the number of CPUs reported as available
+                                          by the OS at the time of detection. */
 } gmx_hw_info_t;
 
 #ifdef __cplusplus