| 33 | } |
| 34 | |
| 35 | ze_result_t ZeListExecuteCommand::Launch(ze_command_queue_handle_t cmdq) |
| 36 | { |
| 37 | XDEBG("ZeListExecuteCommand::Launch(cmdq: %p, cmd_list: %p, fence: %p, this: %p)", |
| 38 | cmdq, kCmdList, following_fence_, this); |
| 39 | return Driver::CommandQueueExecuteCommandLists( |
| 40 | cmdq, 1, (ze_command_list_handle_t *)&kCmdList, following_fence_); |
| 41 | } |
| 42 | |
| 43 | ZeKernelCommand::ZeKernelCommand(ze_command_list_handle_t hCommandList, ze_kernel_handle_t hKernel, const ze_group_count_t *pLaunchFuncArgs, ze_event_handle_t hSignalEvent, uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents) |
| 44 | : HwCommand(), hCommandList_(hCommandList), hKernel_(hKernel), hSignalEvent_(hSignalEvent), numWaitEvents_(numWaitEvents) |