[llvm] [Offload] Disable RPC doorbell queries on some ISAs (PR #190814)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 05:49:40 PDT 2026
================
@@ -3880,8 +3880,16 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
/// Create an HSA signal for the RPC doorbell and return the fields needed
/// for the GPU to fire interrupts that wake the server thread.
- Error initRPCDoorbell(uint64_t *&Value, uint64_t *&Mailbox,
- uint32_t &EventID) override {
+ Error initRPCDoorbell(GenericDeviceTy &Device, uint64_t *&Value,
+ uint64_t *&Mailbox, uint32_t &EventID) override {
+ // FIXME: The doorbell interrupting hardware does not seem to work on these
+ // ISAs. This is potentially due to default PRIV settings, disable
+ // doorbell support pending further investigation.
+ std::string Str = Device.getComputeUnitKind();
----------------
arsenm wrote:
This shuouldn't need a string copy?
https://github.com/llvm/llvm-project/pull/190814
More information about the llvm-commits
mailing list