aboutsummaryrefslogtreecommitdiff
path: root/offload/plugins-nextgen/host
diff options
context:
space:
mode:
Diffstat (limited to 'offload/plugins-nextgen/host')
-rw-r--r--offload/plugins-nextgen/host/src/rtl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/offload/plugins-nextgen/host/src/rtl.cpp b/offload/plugins-nextgen/host/src/rtl.cpp
index 81fbb67..6033796 100644
--- a/offload/plugins-nextgen/host/src/rtl.cpp
+++ b/offload/plugins-nextgen/host/src/rtl.cpp
@@ -336,7 +336,10 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
/// All functions are already synchronous. No need to do anything on this
/// query function.
- Error queryAsyncImpl(__tgt_async_info &AsyncInfo) override {
+ Error queryAsyncImpl(__tgt_async_info &AsyncInfo, bool ReleaseQueue,
+ bool *IsQueueWorkCompleted) override {
+ if (IsQueueWorkCompleted)
+ *IsQueueWorkCompleted = true;
return Plugin::success();
}