Skip to content

Commit

Permalink
Merge pull request #2690 from pbalcer/fix-v2-cmdbuf-enqueue
Browse files Browse the repository at this point in the history
[L0 v2] add missing urCommadBufferEnqueueExp function
  • Loading branch information
kbenzie authored Feb 11, 2025
2 parents 98756a2 + 75d536a commit f66751d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/adapters/level_zero/v2/command_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,15 @@ urCommandBufferGetInfoExp(ur_exp_command_buffer_handle_t hCommandBuffer,
return exceptionToResult(std::current_exception());
}

ur_result_t urCommandBufferEnqueueExp(
ur_exp_command_buffer_handle_t CommandBuffer, ur_queue_handle_t UrQueue,
uint32_t NumEventsInWaitList, const ur_event_handle_t *EventWaitList,
ur_event_handle_t *Event) try {
return UrQueue->get().enqueueCommandBuffer(
CommandBuffer->commandListManager.getZeCommandList(), Event,
NumEventsInWaitList, EventWaitList);
} catch (...) {
return exceptionToResult(std::current_exception());
}

} // namespace ur::level_zero

0 comments on commit f66751d

Please sign in to comment.