@@ -69,7 +69,7 @@ preferCopyEngineForFill(ur_exp_command_buffer_handle_t CommandBuffer,
69
69
assert (PatternSize > 0 );
70
70
71
71
PreferCopyEngine = false ;
72
- if (!CommandBuffer->UseCopyEngine ()) {
72
+ if (!CommandBuffer->useCopyEngine ()) {
73
73
return UR_RESULT_SUCCESS;
74
74
}
75
75
@@ -301,8 +301,8 @@ ur_result_t createSyncPointAndGetZeEvents(
301
301
302
302
// Get sync point and register the event with it.
303
303
ur_exp_command_buffer_sync_point_t SyncPoint =
304
- CommandBuffer->GetNextSyncPoint ();
305
- CommandBuffer->RegisterSyncPoint (SyncPoint, LaunchEvent);
304
+ CommandBuffer->getNextSyncPoint ();
305
+ CommandBuffer->registerSyncPoint (SyncPoint, LaunchEvent);
306
306
307
307
if (RetSyncPoint) {
308
308
*RetSyncPoint = SyncPoint;
@@ -463,7 +463,7 @@ ur_exp_command_buffer_handle_t_::~ur_exp_command_buffer_handle_t_() {
463
463
if (ZeComputeCommandList) {
464
464
ZE_CALL_NOCHECK (zeCommandListDestroy, (ZeComputeCommandList));
465
465
}
466
- if (UseCopyEngine () && ZeCopyCommandList) {
466
+ if (useCopyEngine () && ZeCopyCommandList) {
467
467
ZE_CALL_NOCHECK (zeCommandListDestroy, (ZeCopyCommandList));
468
468
}
469
469
@@ -549,7 +549,7 @@ ur_exp_command_buffer_command_handle_t_::
549
549
urKernelRelease (Kernel);
550
550
}
551
551
552
- void ur_exp_command_buffer_handle_t_::RegisterSyncPoint (
552
+ void ur_exp_command_buffer_handle_t_::registerSyncPoint (
553
553
ur_exp_command_buffer_sync_point_t SyncPoint, ur_event_handle_t Event) {
554
554
SyncPoints[SyncPoint] = Event;
555
555
NextSyncPoint++;
@@ -558,7 +558,7 @@ void ur_exp_command_buffer_handle_t_::RegisterSyncPoint(
558
558
559
559
ze_command_list_handle_t
560
560
ur_exp_command_buffer_handle_t_::chooseCommandList (bool PreferCopyEngine) {
561
- if (PreferCopyEngine && this ->UseCopyEngine () && !this ->IsInOrderCmdList ) {
561
+ if (PreferCopyEngine && this ->useCopyEngine () && !this ->IsInOrderCmdList ) {
562
562
// We indicate that ZeCopyCommandList contains commands to be submitted.
563
563
this ->MCopyCommandListEmpty = false ;
564
564
return this ->ZeCopyCommandList ;
@@ -766,7 +766,7 @@ urCommandBufferFinalizeExp(ur_exp_command_buffer_handle_t CommandBuffer) {
766
766
ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeComputeCommandList ));
767
767
ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeCommandListResetEvents ));
768
768
769
- if (CommandBuffer->UseCopyEngine ()) {
769
+ if (CommandBuffer->useCopyEngine ()) {
770
770
ZE2UR_CALL (zeCommandListClose, (CommandBuffer->ZeCopyCommandList ));
771
771
}
772
772
0 commit comments