-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
levelzero: use zesInit() when 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. First releases with zesInit() returned an error (unsupported). We won't support those because they would require 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 user to avoid those L0 runtime versions if zesInit() fails. Signed-off-by: Brice Goglin <[email protected]>
- Loading branch information
Showing
5 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters