Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP DNM] levelzero: use zesInit() when available #594

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 20, 2023

  1. levelzero: disable ZES_ENABLE_SYSMAN=1 when zesInit() is available

    When zesInit() is available (starting in specs 1.5), we don't need
    all the stuff to set ZES_ENABLE_SYSMAN=1 in the environment anymore.
    
    This assumes that zesInit() works for real, which was not the case
    in first compute-runtime releases (it returned "unsupported").
    Those releases won't be supported anymore because they'd need
    a runtime-check at configure time to find out that the ZES_ENABLE_SYSMAN=1
    stuff must be enabled.
    
    Only use a compile-check to switch between zesInit() and
    ZES_ENABLE_SYSMAN=1, and tell users to avoid those L0 runtime
    versions where zesInit() fails.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    36d3b61 View commit details
    Browse the repository at this point in the history