[llvm] [Offload] Implement the remaining initial Offload API (PR #122106)
Callum Fare via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 09:39:02 PDT 2025
================
@@ -104,3 +104,15 @@ def : Function {
Return<"OL_ERRC_INVALID_DEVICE">
];
}
+
+def : Function {
+ let name = "olGetHostDevice";
----------------
callumfare wrote:
Yeah we could have a simple `olGetDevices`, and `olGetFilteredDevices` which takes a single callback which can filter on both the platform and device type.
https://github.com/llvm/llvm-project/pull/122106
More information about the llvm-commits
mailing list