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 a89a428 commit d86d11eCopy full SHA for d86d11e
sycl/plugins/level_zero/pi_level_zero.cpp
@@ -62,11 +62,11 @@ static const bool UseCopyEngineForD2DCopy = [] {
62
63
// This is an experiemental option that allows the use of copy engine, if
64
// available in the device, in Level Zero plugin for copy operations submitted
65
-// to an in-order queue. The default is 0.
+// to an in-order queue. The default is 1.
66
static const bool UseCopyEngineForInOrderQueue = [] {
67
const char *CopyEngineForInOrderQueue =
68
std::getenv("SYCL_PI_LEVEL_ZERO_USE_COPY_ENGINE_FOR_IN_ORDER_QUEUE");
69
- return (CopyEngineForInOrderQueue &&
+ return (!CopyEngineForInOrderQueue ||
70
(std::stoi(CopyEngineForInOrderQueue) != 0));
71
}();
72
0 commit comments