Skip to content

Commit 46c9f3e

Browse files
authored
[SYCL][PI][L0] Re-enable copy engine use in L0 plugin for memory fill operations (#4362)
Signed-off-by: Arvind Sudarsanam <[email protected]>
1 parent 31b7726 commit 46c9f3e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,10 +5291,7 @@ enqueueMemFillHelper(pi_command_type CommandType, pi_queue Queue, void *Ptr,
52915291
EventWaitList, Queue))
52925292
return Res;
52935293

5294-
// TODO: Fill operations on copy engine fails to fill a buffer at expected
5295-
// offset. Perform fill operations on compute engine for now.
5296-
// PreferCopyEngine will be initialized with 'true' once issue is resolved.
5297-
bool PreferCopyEngine = false;
5294+
bool PreferCopyEngine = true;
52985295
size_t MaxPatternSize =
52995296
Queue->Device->ZeComputeQueueGroupProperties.maxMemoryFillPatternSize;
53005297

0 commit comments

Comments
 (0)