Skip to content

Commit a78ab04

Browse files
author
Jaime Arteaga
committed
Add warning on deprecated variable
Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 8f7ae2f commit a78ab04

File tree

1 file changed

+4
-0
lines changed
  • sycl/plugins/unified_runtime/ur/adapters/level_zero

1 file changed

+4
-0
lines changed

sycl/plugins/unified_runtime/ur/adapters/level_zero/platform.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGet(
4545
setEnvVar("ZE_ENABLE_PARAMETER_VALIDATION", "1");
4646
}
4747

48+
if (getenv("SYCL_ENABLE_PCI") != nullptr) {
49+
urPrint("WARNING: SYCL_ENABLE_PCI is deprecated and no longer needed.\n");
50+
}
51+
4852
// TODO: We can still safely recover if something goes wrong during the init.
4953
// Implement handling segfault using sigaction.
5054

0 commit comments

Comments
 (0)