@@ -69,7 +69,7 @@ preferCopyEngineForFill(ur_exp_command_buffer_handle_t CommandBuffer,
6969 assert (PatternSize > 0 );
7070
7171 PreferCopyEngine = false ;
72- if (!CommandBuffer->UseCopyEngine ()) {
72+ if (!CommandBuffer->useCopyEngine ()) {
7373 return UR_RESULT_SUCCESS;
7474 }
7575
@@ -301,8 +301,8 @@ ur_result_t createSyncPointAndGetZeEvents(
301301
302302 // Get sync point and register the event with it.
303303 ur_exp_command_buffer_sync_point_t SyncPoint =
304- CommandBuffer->GetNextSyncPoint ();
305- CommandBuffer->RegisterSyncPoint (SyncPoint, LaunchEvent);
304+ CommandBuffer->getNextSyncPoint ();
305+ CommandBuffer->registerSyncPoint (SyncPoint, LaunchEvent);
306306
307307 if (RetSyncPoint) {
308308 *RetSyncPoint = SyncPoint;
@@ -463,7 +463,7 @@ ur_exp_command_buffer_handle_t_::~ur_exp_command_buffer_handle_t_() {
463463 if (ZeComputeCommandList) {
464464 ZE_CALL_NOCHECK (zeCommandListDestroy, (ZeComputeCommandList));
465465 }
466- if (UseCopyEngine () && ZeCopyCommandList) {
466+ if (useCopyEngine () && ZeCopyCommandList) {
467467 ZE_CALL_NOCHECK (zeCommandListDestroy, (ZeCopyCommandList));
468468 }
469469
@@ -549,7 +549,7 @@ ur_exp_command_buffer_command_handle_t_::
549549 urKernelRelease (Kernel);
550550}
551551
552- void ur_exp_command_buffer_handle_t_::RegisterSyncPoint (
552+ void ur_exp_command_buffer_handle_t_::registerSyncPoint (
553553 ur_exp_command_buffer_sync_point_t SyncPoint, ur_event_handle_t Event) {
554554 SyncPoints[SyncPoint] = Event;
555555 NextSyncPoint++;
@@ -558,7 +558,7 @@ void ur_exp_command_buffer_handle_t_::RegisterSyncPoint(
558558
559559ze_command_list_handle_t
560560ur_exp_command_buffer_handle_t_::chooseCommandList (bool PreferCopyEngine) {
561- if (PreferCopyEngine && this ->UseCopyEngine () && !this ->IsInOrderCmdList ) {
561+ if (PreferCopyEngine && this ->useCopyEngine () && !this ->IsInOrderCmdList ) {
562562 // We indicate that ZeCopyCommandList contains commands to be submitted.
563563 this ->MCopyCommandListEmpty = false ;
564564 return this ->ZeCopyCommandList ;
@@ -766,7 +766,7 @@ urCommandBufferFinalizeExp(ur_exp_command_buffer_handle_t CommandBuffer) {
766766 ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeComputeCommandList ));
767767 ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeCommandListResetEvents ));
768768
769- if (CommandBuffer->UseCopyEngine ()) {
769+ if (CommandBuffer->useCopyEngine ()) {
770770 ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeCopyCommandList ));
771771 }
772772
0 commit comments