[llvm] [Offload] Full AMD support for olMemFill (PR #154958)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 05:59:38 PDT 2025
================
@@ -89,6 +89,40 @@ template <typename Fn> inline void threadify(Fn body) {
}
}
+/// Enqueues a task to the queue that can be manually resolved.
+// It will block until `trigger` is called.
+struct ManuallyTriggeredTask {
----------------
RossBrunton wrote:
The AMD driver has two different code paths depending on whether the queue is empty or not. This struct allows the test framework to "hold" a task in the queue making it non-empty so that the non-empty path can be tested.
https://github.com/llvm/llvm-project/pull/154958
More information about the llvm-commits
mailing list