SWDEV-465041 - Add support for user events with DD (#321)

* SWDEV-465041 - Add support for user events with DD

User events can be replaced with HSA signals. Add the interface
to allocate HSA signal for user events and update the status on
CL_COMPLETE.
Force pinned path with DD to avoid blocking calls. Pinned memory
can be released only when the command is complete.
Simplify device enqueue path to use generic kernel arg buffer and
signals

* Fix notifyCmdQueue() logic for OCL

* Avoid blocking calls in OCL with DD

* Add event  destruciton in a case of the failure.
このコミットが含まれているのは:
Andryeyev, German
2025-08-12 19:04:36 -04:00
committed by GitHub
コミット 2305f8ae56
13個のファイルの変更168行の追加105行の削除
+3
ファイルの表示
@@ -173,6 +173,9 @@ void HostQueue::finish(bool cpu_wait) {
(vdev()->QueuedAsyncHandlers().load() > DEBUG_HIP_BLOCK_SYNC)) {
cpu_wait = true;
}
} else {
// Force CPU wait for OpenCL, since the tests may check OCL command status after finish
cpu_wait = true;
}
size_t batchSize = GetSubmissionBatchSize();