Refactor Init to delay Library Load by nrspruit · Pull Request #379 · oneapi-src/level-zero

@nrspruit nrspruit marked this pull request as ready for review

October 29, 2025 14:26
- Delay to load of the L0 Driver Libraries until the user has directly
  requested the library to be loaded thru the flags.
- Remove the "pretest" of driver support and instead assume driver
  support based on naming and registry categorization. Speeds up loader
  init.
- Moved init of drivers until zInitDrivers or zeInit
- Added ULTs to verify the new init_driver functionality
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>

@nrspruit

vishnu-khanth

vishnu-khanth

vishnu-khanth

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>

vishnu-khanth

rwmcguir