Skip to content

Commit e38825f

Browse files
committed
Enable DDI Driver Path by Default
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent 3fd6ea7 commit e38825f

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Level zero loader changelog
2+
## v1.24.0
3+
* Enable DDI Driver Extension path by default.
24
## v1.23.1
35
* Fix Sysman only DDI Init for zesDriver compatability
46
## v1.23.0

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(MSVC AND (MSVC_VERSION LESS 1900))
1313
endif()
1414

1515
# This project follows semantic versioning (https://semver.org/)
16-
project(level-zero VERSION 1.23.1)
16+
project(level-zero VERSION 1.24.0)
1717

1818
include(GNUInstallDirs)
1919

PRODUCT_GUID.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.23.1
2-
fd1c864d-4ba3-4321-bdfc-66f50cf6b6bf
1+
1.24.0
2+
2ba535f4-fef9-45e1-9ff6-66c4e0f629ff

source/loader/ze_loader.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,9 @@ namespace loader
459459
loader::loaderZetDdiTable = new zet_dditable_t();
460460
loader::loaderZesDdiTable = new zes_dditable_t();
461461
debugTraceEnabled = getenv_tobool( "ZE_ENABLE_LOADER_DEBUG_TRACE" );
462-
driverDDIPathDefault = getenv_tobool( "ZE_ENABLE_LOADER_DRIVER_DDI_PATH" );
462+
// Set to true if the env is not set
463+
std::string ddiPathConfig = getenv_string("ZE_ENABLE_LOADER_DRIVER_DDI_PATH");
464+
driverDDIPathDefault = (ddiPathConfig.empty()) ? true : getenv_tobool("ZE_ENABLE_LOADER_DRIVER_DDI_PATH");
463465
auto discoveredDrivers = discoverEnabledDrivers();
464466
std::string loadLibraryErrorValue;
465467

0 commit comments

Comments
 (0)