================
@@ -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;
----------------
ro-i wrote:
uhm, I noticed that I forgot to add this in the commit message: I also wanted
to fix some memory leaks coming from nowait regions, which don't get
synchronized and only notice that they are done if they see completeness in
queryAsync
https://github.com/llvm/llvm-project/pull/214755
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits