[llvm] [Offload] Make olLaunchKernel test thread safe (PR #149497)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 08:05:12 PDT 2025
================
@@ -75,6 +76,11 @@ struct __tgt_async_info {
/// should be freed after finalization.
llvm::SmallVector<void *, 2> AssociatedAllocations;
+ /// Mutex to guard access to AssociatedAllocations and the Queue.
+ /// This is only used for liboffload and should be ignored in libomptarget
+ /// code.
----------------
RossBrunton wrote:
Looks like it isn't. I must have been thinking of the older mutex.
https://github.com/llvm/llvm-project/pull/149497
More information about the llvm-commits
mailing list