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.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dc34af61d7
Коммит
2305f8ae56
@@ -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();
|
||||
|
||||
Ссылка в новой задаче
Block a user