Apply re-formatting to C++ in src/ tree.
[alexxy/gromacs.git] / src / gromacs / mdtypes / state_propagator_data_gpu_impl_gpu.cpp
index 8737f63ba9fdd5e29121b779f8e05e4489549547..37d00888d502e9a69f01f72b355cbb8f4528b28d 100644 (file)
@@ -234,8 +234,13 @@ void StatePropagatorDataGpu::Impl::copyToDevice(DeviceBuffer<RVec>
         GMX_ASSERT(atomsStartAt + numAtomsToCopy <= h_data.ssize(),
                    "The host buffer is smaller than the requested copy range.");
 
-        copyToDeviceBuffer(&d_data, reinterpret_cast<const RVec*>(&h_data.data()[atomsStartAt]),
-                           atomsStartAt, numAtomsToCopy, deviceStream, transferKind_, nullptr);
+        copyToDeviceBuffer(&d_data,
+                           reinterpret_cast<const RVec*>(&h_data.data()[atomsStartAt]),
+                           atomsStartAt,
+                           numAtomsToCopy,
+                           deviceStream,
+                           transferKind_,
+                           nullptr);
     }
 }
 
@@ -263,8 +268,13 @@ void StatePropagatorDataGpu::Impl::copyFromDevice(gmx::ArrayRef<gmx::RVec> h_dat
         GMX_ASSERT(atomsStartAt + numAtomsToCopy <= h_data.ssize(),
                    "The host buffer is smaller than the requested copy range.");
 
-        copyFromDeviceBuffer(reinterpret_cast<RVec*>(&h_data.data()[atomsStartAt]), &d_data,
-                             atomsStartAt, numAtomsToCopy, deviceStream, transferKind_, nullptr);
+        copyFromDeviceBuffer(reinterpret_cast<RVec*>(&h_data.data()[atomsStartAt]),
+                             &d_data,
+                             atomsStartAt,
+                             numAtomsToCopy,
+                             deviceStream,
+                             transferKind_,
+                             nullptr);
     }
 }