[llvm] [Offload] Make olLaunchKernel test thread safe (PR #149497)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 06:33:15 PDT 2025
================
@@ -2302,8 +2304,11 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
// Once the stream is synchronized, return it to stream pool and reset
// AsyncInfo. This is to make sure the synchronization only works for its
// own tasks.
- AsyncInfo.Queue = nullptr;
- return AMDGPUStreamManager.returnResource(Stream);
+ if (RemoveQueue) {
----------------
jhuber6 wrote:
Why do we now need a conditional for this? It's supposed to consume it.
https://github.com/llvm/llvm-project/pull/149497
More information about the llvm-commits
mailing list