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

Callum Fare via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 08:55:57 PDT 2025


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

I've pushed another update based on our last discussion. There's a single HSA style `olDeviceIterate` function and platforms (if needed) can be queried from the device handle. I've also finally moved the host device into the list of regular devices and removed `olGetHostDevice`.

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


More information about the llvm-commits mailing list