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

Ross Brunton via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 05:29:48 PDT 2025


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

This has no code changes.


>From b4ba46ef0e9199ff841a0f92655a4c36f847661e Mon Sep 17 00:00:00 2001
From: Ross Brunton <ross at codeplay.com>
Date: Tue, 5 Aug 2025 13:27:55 +0100
Subject: [PATCH] [NFC][Offload] Clarify `olDestroyQueue`

This has no code changes.
---
 offload/liboffload/API/Queue.td | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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>
     ];



More information about the llvm-commits mailing list