Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / nbnxm / gpu_common_utils.h
index 77d3b08e9649e3cd0dea7a62d12c3eb3519799ba..4c3333d82a622ba09883fba637d5fb63c54b5689 100644 (file)
 #include "gromacs/nbnxm/nbnxm.h"
 
 #if GMX_GPU == GMX_GPU_CUDA
-#include "cuda/nbnxm_cuda_types.h"
+#    include "cuda/nbnxm_cuda_types.h"
 #endif
 
 #if GMX_GPU == GMX_GPU_OPENCL
-#include "opencl/nbnxm_ocl_types.h"
+#    include "opencl/nbnxm_ocl_types.h"
 #endif
 
 namespace Nbnxm
@@ -64,12 +64,10 @@ namespace Nbnxm
  * local part of the force array also depends on the non-local kernel.
  * The skip of the local kernel is taken care of separately.
  */
-static inline bool canSkipNonbondedWork(const gmx_nbnxn_gpu_t &nb,
-                                        InteractionLocality    iloc)
+static inline bool canSkipNonbondedWork(const gmx_nbnxn_gpu_t& nb, InteractionLocality iloc)
 {
     assert(nb.plist[iloc]);
-    return (iloc == InteractionLocality::NonLocal &&
-            nb.plist[iloc]->nsci == 0);
+    return (iloc == InteractionLocality::NonLocal && nb.plist[iloc]->nsci == 0);
 }
 
 } // namespace Nbnxm