fix: Init DDI Tables during constructor by nrspruit · Pull Request #398 · oneapi-src/level-zero
- To address race conditions during multi-threaded calls between threads using both zeInit and zeInitDrivers, set the ddi tables to 0 during the constructor vs during init to esnure the tables are empty before init, but don't get reset twice. Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
marked this pull request as ready for review
This file contains hidden or 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