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), call it to further reduce problems with ZES_ENABLE_SYSMAN=1 not being set in the environment. The current implementation of zesInit() in the oneAPI compute runtime returns an "unsupported feature" 0x78000003 error (or return success and do nothing if ZES_ENABLE_SYSMAN=1) but hopefully things will improve quickly. Once zesInit() will be widely available/implemented, we'll consider disabling the ZES_ENABLE_SYSMAN=1 stuff if zesInit() is found at configure time, and later remove it. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
6 changed files
with
29 additions
and
6 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
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