Skip to content

Commit

Permalink
Improves comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrancepillois committed Oct 12, 2023
1 parent f00cc54 commit 777eab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/adapters/level_zero/command_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMPrefetchExp(
*SyncPoint = CommandBuffer->GetNextSyncPoint();
CommandBuffer->RegisterSyncPoint(*SyncPoint, LaunchEvent);

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

Expand Down

0 comments on commit 777eab2

Please sign in to comment.