Skip to content

Conversation

@nrspruit
Copy link
Contributor

@nrspruit nrspruit commented Aug 5, 2024

  • Change zeInit usage to optionally init all driver types with all flags set, then
    filter the drivers currently supported.
  • Enables for L0 application to init all driver types which unblocks
    other libraries using L0 drivers and enables for future use of other
    driver types.
  • Added Environment Variable UR_L0_INIT_ALL_DRIVERS which will set all
    driver type flags when enabled.

@nrspruit nrspruit requested a review from a team as a code owner August 5, 2024 18:30
@github-actions github-actions bot added the level-zero L0 adapter specific issues label Aug 5, 2024
@nrspruit nrspruit added the v0.10.x Include in the v0.10.x release label Aug 5, 2024
@nrspruit nrspruit marked this pull request as draft August 8, 2024 15:25
@nrspruit nrspruit marked this pull request as ready for review August 9, 2024 14:23
@nrspruit nrspruit force-pushed the fix_l0_driver_init branch from 4077e4d to 036a172 Compare August 9, 2024 14:24
@nrspruit nrspruit marked this pull request as draft August 9, 2024 15:10
@nrspruit nrspruit removed the v0.10.x Include in the v0.10.x release label Aug 9, 2024
@nrspruit nrspruit force-pushed the fix_l0_driver_init branch from 036a172 to fa4d7ec Compare August 14, 2024 01:07
@nrspruit nrspruit added the v0.10.x Include in the v0.10.x release label Aug 14, 2024
@nrspruit nrspruit changed the title [L0] Fix L0 Driver Init to init all device types with filtering [L0] Enable L0 Driver Init to init all device types with filtering Aug 14, 2024
@nrspruit nrspruit marked this pull request as ready for review August 14, 2024 01:08
- Change zeInit usage to optionally init all driver types with all flags set, then
  filter the drivers currently supported.
- Enables for L0 application to init all driver types which unblocks
  other libraries using L0 drivers and enables for future use of other
driver types.
- Added Environment Variable UR_L0_INIT_ALL_DRIVERS which will set all
  driver type flags when enabled.

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
@nrspruit nrspruit force-pushed the fix_l0_driver_init branch from fa4d7ec to 4b84377 Compare August 14, 2024 01:08
nrspruit added a commit to nrspruit/llvm that referenced this pull request Aug 14, 2024
-pre-commit PR for oneapi-src/unified-runtime#1931

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

@rwmcguir rwmcguir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally approve, and really like the environ we can pass around for components to test their compatibility and future issues.

@nrspruit nrspruit added the ready to merge Added to PR's which are ready to merge label Aug 14, 2024
@omarahmed1111 omarahmed1111 merged commit 3974c6f into oneapi-src:main Aug 16, 2024
kbenzie pushed a commit that referenced this pull request Aug 20, 2024
[L0] Enable L0 Driver Init to init all device types with filtering
@kbenzie kbenzie mentioned this pull request Aug 20, 2024
53 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level-zero L0 adapter specific issues ready to merge Added to PR's which are ready to merge v0.10.x Include in the v0.10.x release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants