[llvm-branch-commits] [llvm] [offload] Thread allocation kind through async info (PR #214755)

Joseph Huber via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 7 08:14:18 PDT 2026


================
@@ -1001,7 +1003,35 @@ Error GenericDeviceTy::queryAsync(__tgt_async_info *AsyncInfo,
     return Plugin::error(ErrorCode::INVALID_ARGUMENT,
                          "invalid async info queue");
 
-  return queryAsyncImpl(*AsyncInfo, ReleaseQueue, IsQueueWorkCompleted);
+  bool WorkCompleted = false;
----------------
jhuber6 wrote:

Yeah, but why do we have an implicit synchronize-like operation done on what I thought was a query? The point of query should just be to answer 'Are we finished' and adding implicit behavior to that question is a little confusing.

https://github.com/llvm/llvm-project/pull/214755


More information about the llvm-branch-commits mailing list