feature: Support for OCL C in L0 runtime

Prototype support for OCL C in L0 runtime
Can be used with zeModuleCreate and ze_module_format_t=3

Related-To: GSD-11827

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2025-10-10 14:00:20 +00:00
committed by Compute-Runtime-Automation
parent 4a9b918a85
commit 9c3d9d803f
7 changed files with 36 additions and 39 deletions

View File

@@ -436,12 +436,14 @@ bool CompilerInterface::loadIgcBasedCompiler(CompilerLibraryEntry &entry, const
}
bool CompilerInterface::initialize(std::unique_ptr<CompilerCache> &&cache, bool requireFcl) {
bool fclAvailable = requireFcl ? this->loadFcl() : false;
if (requireFcl) {
this->loadFcl();
}
bool igcAvailable = this->loadIgcBasedCompiler(defaultIgc, Os::igcDllName);
this->cache.swap(cache);
return this->cache && igcAvailable && (fclAvailable || (false == requireFcl));
return this->cache && igcAvailable;
}
IGC::FclOclDeviceCtxTagOCL *CompilerInterface::getFclDeviceCtx(const Device &device) {