Skip to content

Commit 7581985

Browse files
committed
Rename USMMemcpy operation
1 parent 4896d14 commit 7581985

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

source/adapters/level_zero/v2/command_buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ur_result_t urCommandBufferAppendUSMMemcpyExp(
157157

158158
std::ignore = phCommand;
159159
// Responsibility of UMD to offload to copy engine
160-
UR_CALL(hCommandBuffer->commandListManager.enqueueUSMMemcpy(
160+
UR_CALL(hCommandBuffer->commandListManager.appendUSMMemcpy(
161161
false, pDst, pSrc, size, 0, nullptr, nullptr));
162162

163163
return UR_RESULT_SUCCESS;

source/adapters/level_zero/v2/command_list_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ ur_result_t ur_command_list_manager::appendKernelLaunch(
102102
return UR_RESULT_SUCCESS;
103103
}
104104

105-
ur_result_t ur_command_list_manager::enqueueUSMMemcpy(
105+
ur_result_t ur_command_list_manager::appendUSMMemcpy(
106106
bool blocking, void *pDst, const void *pSrc, size_t size,
107107
uint32_t numEventsInWaitList, const ur_event_handle_t *phEventWaitList,
108108
ur_event_handle_t *phEvent) {
109-
TRACK_SCOPE_LATENCY("ur_command_list_manager::enqueueUSMMemcpy");
109+
TRACK_SCOPE_LATENCY("ur_command_list_manager::appendUSMMemcpy");
110110

111111
std::scoped_lock<ur_shared_mutex> lock(this->Mutex);
112112

source/adapters/level_zero/v2/command_list_manager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct ur_command_list_manager : public _ur_object {
4747
const ur_event_handle_t *phEventWaitList,
4848
ur_event_handle_t *phEvent);
4949

50-
ur_result_t enqueueUSMMemcpy(bool blocking, void *pDst, const void *pSrc,
50+
ur_result_t appendUSMMemcpy(bool blocking, void *pDst, const void *pSrc,
5151
size_t size, uint32_t numEventsInWaitList,
5252
const ur_event_handle_t *phEventWaitList,
5353
ur_event_handle_t *phEvent);

source/adapters/level_zero/v2/queue_immediate_in_order.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ ur_result_t ur_queue_immediate_in_order_t::enqueueUSMMemcpy(
698698
// TODO: parametrize latency tracking with 'blocking'
699699
TRACK_SCOPE_LATENCY("ur_queue_immediate_in_order_t::enqueueUSMMemcpy");
700700

701-
UR_CALL(commandListManager.enqueueUSMMemcpy(blocking, pDst, pSrc, size,
701+
UR_CALL(commandListManager.appendUSMMemcpy(blocking, pDst, pSrc, size,
702702
numEventsInWaitList,
703703
phEventWaitList, phEvent));
704704

0 commit comments

Comments
 (0)