[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:02:31 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:

Seems strange that we're doing this much work under lock and swapping things for a query function. Why is this required exactly?

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


More information about the llvm-branch-commits mailing list