Skip to content

Commit 1466ba7

Browse files
author
Jaime Arteaga
authored
[SYCL][UR] Remove UR_L0_TRACE (#10579)
It shadows SYCL_PI_TRACE, so not needed.Tracing at UR level would eventually move to an official UR environment variable, Resolves: #10178 Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 457251f commit 1466ba7

File tree

1 file changed

+1
-2
lines changed
  • sycl/plugins/unified_runtime/ur

1 file changed

+1
-2
lines changed

sycl/plugins/unified_runtime/ur/ur.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212

1313
// Controls tracing UR calls from within the UR itself.
1414
bool PrintTrace = [] {
15-
const char *UrRet = std::getenv("UR_L0_TRACE");
1615
const char *PiRet = std::getenv("SYCL_PI_TRACE");
17-
const char *Trace = UrRet ? UrRet : (PiRet ? PiRet : nullptr);
16+
const char *Trace = PiRet ? PiRet : nullptr;
1817
const int TraceValue = Trace ? std::stoi(Trace) : 0;
1918
if (TraceValue == -1 || TraceValue == 2) { // Means print all traces
2019
return true;

0 commit comments

Comments
 (0)