[llvm] [Offload] Implement `olShutDown` (PR #144055)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 06:34:13 PDT 2025


================
@@ -13,7 +13,9 @@
 def : Function {
     let name = "olCreateProgram";
     let desc = "Create a program for the device from the binary image pointed to by `ProgData`.";
-    let details = [];
+    let details = [
+        "The provided `ProgData` will be copied and need not outlive the returned handle",
+    ];
----------------
jhuber6 wrote:

Ideally we should be able to return a proper error if someone uses the interface while it was shut down. 

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


More information about the llvm-commits mailing list