Skip to content

Commit e2c4136

Browse files
committed
fix merge conflict
1 parent d86d11e commit e2c4136

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static const bool UseCopyEngineForD2DCopy = [] {
6060
return (CopyEngineForD2DCopy && (std::stoi(CopyEngineForD2DCopy) != 0));
6161
}();
6262

63-
// This is an experiemental option that allows the use of copy engine, if
63+
// This is an experimental option that allows the use of copy engine, if
6464
// available in the device, in Level Zero plugin for copy operations submitted
6565
// to an in-order queue. The default is 1.
6666
static const bool UseCopyEngineForInOrderQueue = [] {
@@ -70,12 +70,6 @@ static const bool UseCopyEngineForInOrderQueue = [] {
7070
(std::stoi(CopyEngineForInOrderQueue) != 0));
7171
}();
7272

73-
static const bool CopyEngineRequested = [] {
74-
const char *CopyEngine = std::getenv("SYCL_PI_LEVEL_ZERO_USE_COPY_ENGINE");
75-
bool UseCopyEngine = (!CopyEngine || (std::stoi(CopyEngine) != 0));
76-
return UseCopyEngine;
77-
}();
78-
7973
// This class encapsulates actions taken along with a call to Level Zero API.
8074
class ZeCall {
8175
private:

0 commit comments

Comments
 (0)