aboutsummaryrefslogtreecommitdiff
path: root/src/frame_span.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame_span.hh')
-rw-r--r--src/frame_span.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame_span.hh b/src/frame_span.hh
index 5220702..638554b 100644
--- a/src/frame_span.hh
+++ b/src/frame_span.hh
@@ -28,6 +28,8 @@ class FrameSpan {
void update(std::shared_ptr<TimestampPool::Handle> handle);
public:
+ // Check if GPU work has completed without hanging.
+ bool has_completed() const;
// Wait for for GPU work to complete.
void await_completed() const;
};