Make DeviceStream into a class
[alexxy/gromacs.git] / src / gromacs / ewald / pme_pp_comm_gpu_impl.h
index c791ea5b4011ace1b20c5ace0a127fbaea0b92fb..934b7c40c62ed1a1daa3eb58f607cb494554d3dd 100644 (file)
@@ -119,7 +119,7 @@ private:
     //! Device context object
     const DeviceContext& deviceContext_;
     //! CUDA stream used for the communication operations in this class
-    cudaStream_t pmePpCommStream_ = nullptr;
+    DeviceStream pmePpCommStream_;
     //! Remote location of PME coordinate data buffer
     void* remotePmeXBuffer_ = nullptr;
     //! Remote location of PME force data buffer