DeviceBuffer headers are added
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpuregiontimer.cuh
index 17321f7c62381f964033759a47c9b6af6ea774d5..393bd7f7263b1583ce23534c76c0176f3dcb28a6 100644 (file)
@@ -102,6 +102,15 @@ class GpuRegionTimerImpl
 
         /*! \brief Resets internal state */
         inline void reset(){}
+
+        /*! \brief Returns a new raw timing event
+         * for passing into individual GPU API calls.
+         * This is just a dummy in CUDA.
+         */
+        inline CommandEvent *fetchNextEvent()
+        {
+            return nullptr;
+        }
 };
 
 //! Short-hand for external use