Skip to content

Commit d86d11e

Browse files
committed
Change default value of env var to 1
1 parent a89a428 commit d86d11e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ static const bool UseCopyEngineForD2DCopy = [] {
6262

6363
// This is an experiemental option that allows the use of copy engine, if
6464
// available in the device, in Level Zero plugin for copy operations submitted
65-
// to an in-order queue. The default is 0.
65+
// to an in-order queue. The default is 1.
6666
static const bool UseCopyEngineForInOrderQueue = [] {
6767
const char *CopyEngineForInOrderQueue =
6868
std::getenv("SYCL_PI_LEVEL_ZERO_USE_COPY_ENGINE_FOR_IN_ORDER_QUEUE");
69-
return (CopyEngineForInOrderQueue &&
69+
return (!CopyEngineForInOrderQueue ||
7070
(std::stoi(CopyEngineForInOrderQueue) != 0));
7171
}();
7272

0 commit comments

Comments
 (0)