[llvm] [Offload] Fix self-deadlock on RPC initialization (PR #219012)
Kevin Sala Penades via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 12:05:27 PDT 2026
================
@@ -236,6 +238,7 @@ Error RPCServerTy::initDevice(plugin::GenericDeviceTy &Device,
static_cast<uint8_t *>(RPCBuffer) + rpc::Server::doorbell_offset());
std::memcpy(DoorbellPtr, &Doorbell, sizeof(rpc::Doorbell));
----------------
kevinsala wrote:
Is it possible that two threads call `initDevice` passing the same device in parallel?
https://github.com/llvm/llvm-project/pull/219012
More information about the llvm-commits
mailing list