Use a pointer to kernel parameters instead of a reference
[alexxy/gromacs.git] / src / gromacs / mdlib / lincs_gpu_internal.h
index e0bd088f04cd77703fcc4ca4bc28e872f3fd4de8..1dc41f71649cb53fd330247540ab70d52ebf38fb 100644 (file)
@@ -68,7 +68,7 @@ constexpr static int c_threadsPerBlock = 256;
  * \param computeVirial Whether to compute the virial.
  * \param deviceStream Device stream for kernel launch.
  */
-void launchLincsGpuKernel(LincsGpuKernelParameters&   kernelParams,
+void launchLincsGpuKernel(LincsGpuKernelParameters*   kernelParams,
                           const DeviceBuffer<Float3>& d_x,
                           DeviceBuffer<Float3>        d_xp,
                           bool                        updateVelocities,