Skip to content

Commit 5cc3f88

Browse files
Improves comments
1 parent f135e6c commit 5cc3f88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/adapters/level_zero/command_buffer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMPrefetchExp(
708708
*SyncPoint = CommandBuffer->GetNextSyncPoint();
709709
CommandBuffer->RegisterSyncPoint(*SyncPoint, LaunchEvent);
710710

711-
// TODO: figure out how to translate "flags"
711+
// Add the prefetch command to the command buffer.
712+
// Note that L0 does not handle migration flags.
712713
ZE2UR_CALL(zeCommandListAppendMemoryPrefetch,
713714
(CommandBuffer->ZeCommandList, Mem, Size));
714715

0 commit comments

Comments
 (0)