================
@@ -3561,6 +3564,28 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
     return KernelAgents;
   }
 
+  Expected<MemoryInfoTy> getMemoryInfo(const void *TgtPtr) override {
----------------
jplehr wrote:

The code in `OffloadImpl` and the code in the NVidia case had/have 
`std::lock_guard` guarding. Is this not necessary here or has it been missed, 
or do I simply not see it?

https://github.com/llvm/llvm-project/pull/157484
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to