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.

[ROCm/clr commit: 2305f8ae56]
Этот коммит содержится в:
Andryeyev, German authored and GitHub committed 2025-08-12 19:04:36 -04:00
1 родитель a7ed228997
Коммит 6df9a49437
13 files changed
+168 -105

No files matched your search

+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();