| 74 | } |
| 75 | |
| 76 | ze_result_t XCommandQueueSynchronize(ze_command_queue_handle_t hCommandQueue, uint64_t timeout) |
| 77 | { |
| 78 | XDEBG("XCommandQueueSynchronize(cmdq: %p, timeout: " FMT_64D ")", hCommandQueue, timeout); |
| 79 | auto xq = HwQueueManager::GetXQueue(GetHwQueueHandle(hCommandQueue)); |
| 80 | if (xq == nullptr) return Driver::CommandQueueSynchronize(hCommandQueue, timeout); |
| 81 | xq->WaitAll(); |
| 82 | return ZE_RESULT_SUCCESS; |
| 83 | } |
| 84 | |
| 85 | ze_result_t XCommandListCreate(ze_context_handle_t hContext, ze_device_handle_t hDevice, const ze_command_list_desc_t *desc, ze_command_list_handle_t *phCommandList) |
| 86 | { |
nothing calls this directly
no test coverage detected