Make DeviceStream into a class
[alexxy/gromacs.git] / src / gromacs / ewald / pme_coordinate_receiver_gpu.h
index b5d02a719e2f813ae3f228ff3dc659d256a89667..144bd27fddcf042366ffcfd609277ceb948c859a 100644 (file)
@@ -47,6 +47,7 @@
 #include "gromacs/utility/classhelpers.h"
 #include "gromacs/utility/gmxmpi.h"
 
+class DeviceStream;
 struct PpRanks;
 
 namespace gmx
@@ -64,7 +65,7 @@ public:
      * \param[in] comm            Communicator used for simulation
      * \param[in] ppRanks         List of PP ranks
      */
-    PmeCoordinateReceiverGpu(const void* pmeStream, MPI_Comm comm, gmx::ArrayRef<PpRanks> ppRanks);
+    PmeCoordinateReceiverGpu(const DeviceStream& pmeStream, MPI_Comm comm, gmx::ArrayRef<PpRanks> ppRanks);
     ~PmeCoordinateReceiverGpu();
 
     /*! \brief