Use GpuEventSynchronizer in NBNXM
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpueventsynchronizer.cuh
index b098f3549857c9394ba80c003cdb0ac2c103fb48..f40c7d446ff45729b452a04d40662af0e6822b75 100644 (file)
@@ -114,6 +114,8 @@ public:
         GMX_ASSERT(stat == cudaSuccess,
                    ("cudaStreamWaitEvent failed. " + gmx::getDeviceErrorString(stat)).c_str());
     }
+    //! Reset the event (not needed in CUDA)
+    inline void reset() {}
 
 private:
     cudaEvent_t event_;