Skip to content

Commit a207347

Browse files
committed
[SYCL][Graph] Disable DG2 copy engine
Always disable copy engine usage on DG2 to as a workaround to CI fails, see CMPLRLLVM-68064
1 parent 1c420b5 commit a207347

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

unified-runtime/source/adapters/level_zero/command_buffer.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,9 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
742742
// Create a list for copy commands. Note that to simplify the implementation,
743743
// the current implementation only uses the main copy engine and does not use
744744
// the link engine even if available.
745-
if (Device->hasMainCopyEngine()) {
745+
//
746+
// Copy engine usage disabled for DG2, see CMPLRLLVM-68064
747+
if (Device->hasMainCopyEngine() && !Device->isDG2()) {
746748
UR_CALL(createMainCommandList(Context, Device, IsInOrder, false, true,
747749
ZeCopyCommandList));
748750
}

0 commit comments

Comments
 (0)