| 129 | } |
| 130 | |
| 131 | ze_result_t XCommandListClose(ze_command_list_handle_t hCommandList) |
| 132 | { |
| 133 | XDEBG("XCommandListClose(cmd_list: %p)", hCommandList); |
| 134 | if (ImmediateCommandListManager::Instance().Exists(hCommandList)) |
| 135 | return Driver::CommandListClose(hCommandList); |
| 136 | else |
| 137 | return CommandListManager::Instance().Close(hCommandList); |
| 138 | } |
| 139 | |
| 140 | ze_result_t XCommandListHostSynchronize(ze_command_list_handle_t hCommandList, uint64_t timeout) |
| 141 | { |