[llvm] [Offload] Implement the remaining initial Offload API (PR #122106)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 08:35:34 PDT 2025


================
@@ -104,3 +104,15 @@ def : Function {
     Return<"OL_ERRC_INVALID_DEVICE">
   ];
 }
+
+def : Function {
+  let name = "olGetHostDevice";
----------------
jhuber6 wrote:

Yeah, I'm not a fan of it. I like how HSA does it with a callback better. OpenMP mostly uses it by more or less getting all devices that match an ELF or LLVM IR file.

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


More information about the llvm-commits mailing list