[llvm] [NFC][Offload] Clarify `olDestroyQueue` (PR #152132)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 05:30:25 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-offload

Author: Ross Brunton (RossBrunton)

<details>
<summary>Changes</summary>

This has no code changes.


---
Full diff: https://github.com/llvm/llvm-project/pull/152132.diff


1 Files Affected:

- (modified) offload/liboffload/API/Queue.td (+3-1) 


``````````diff
diff --git a/offload/liboffload/API/Queue.td b/offload/liboffload/API/Queue.td
index 6e86b2445c73d..7e4c5b8c68be2 100644
--- a/offload/liboffload/API/Queue.td
+++ b/offload/liboffload/API/Queue.td
@@ -24,7 +24,9 @@ def : Function {
 def : Function {
     let name = "olDestroyQueue";
     let desc = "Destroy the queue and free all underlying resources.";
-    let details = [];
+    let details = [
+      "Any work previously enqueued to the queue is still performed and any events generated for this queue remain valid."
+    ];
     let params = [
         Param<"ol_queue_handle_t", "Queue", "handle of the queue", PARAM_IN>
     ];

``````````

</details>


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


More information about the llvm-commits mailing list