[llvm] [Offload] Improve error reporting on memory faults (PR #104254)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 10:00:24 PDT 2024


================
@@ -3264,8 +3264,18 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
       }
       if (DeviceNode != Node)
         continue;
-
+      void *DevicePtr = (void *)Event->memory_fault.virtual_address;
----------------
jhuber6 wrote:

Wonder if we should just treat these as `uintptr_t`

https://github.com/llvm/llvm-project/pull/104254


More information about the llvm-commits mailing list