mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 17:29:14 +08:00
fix: add check for igc compatibility without checking icbe
Related-To: NEO-7904 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
814de81aca
commit
6e93dd8068
@@ -370,17 +370,18 @@ CIF::RAII::UPtr_t<IGC::IgcFeaturesAndWorkaroundsTagOCL> CompilerInterface::getIg
|
||||
}
|
||||
|
||||
bool CompilerInterface::loadFcl() {
|
||||
return NEO::loadCompiler(Os::frontEndDllName, fclLib, fclMain);
|
||||
return NEO::loadCompiler<IGC::FclOclDeviceCtx>(Os::frontEndDllName, fclLib, fclMain);
|
||||
}
|
||||
|
||||
bool CompilerInterface::loadIgc() {
|
||||
return NEO::loadCompiler(Os::igcDllName, igcLib, igcMain);
|
||||
return NEO::loadCompiler<IGC::IgcOclDeviceCtx>(Os::igcDllName, igcLib, igcMain);
|
||||
}
|
||||
|
||||
bool CompilerInterface::initialize(std::unique_ptr<CompilerCache> &&cache, bool requireFcl) {
|
||||
bool fclAvailable = requireFcl ? this->loadFcl() : false;
|
||||
bool igcAvailable = this->loadIgc();
|
||||
bool compilerVersionCorrect = true;
|
||||
|
||||
if (!DebugManager.flags.ZebinIgnoreIcbeVersion.get()) {
|
||||
compilerVersionCorrect = verifyIcbeVersion();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user