We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 983d88a commit a89a428Copy full SHA for a89a428
sycl/plugins/level_zero/pi_level_zero.cpp
@@ -800,7 +800,9 @@ pi_result _pi_context::getAvailableCommandList(
800
if (auto Res = Queue->executeOpenCommandList())
801
return Res;
802
}
803
- bool UseCopyEngine = PreferCopyEngine && Queue->Device->hasCopyEngine();
+ bool UseCopyEngine =
804
+ (!(Queue->isInOrderQueue()) || UseCopyEngineForInOrderQueue) &&
805
+ PreferCopyEngine && Queue->Device->hasCopyEngine();
806
807
// Create/Reuse the command list, because in Level Zero commands are added to
808
// the command lists, and later are then added to the command queue.
0 commit comments