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

@@ -159,7 +159,7 @@ CompilerInterface *RootDeviceEnvironment::getCompilerInterface() {
std::lock_guard<std::mutex> autolock(this->mtx);
if (this->compilerInterface.get() == nullptr) {
auto cache = std::make_unique<CompilerCache>(getDefaultCompilerCacheConfig());
this->compilerInterface.reset(CompilerInterface::createInstance(std::move(cache), ApiSpecificConfig::getApiType() == ApiSpecificConfig::ApiType::OCL));
this->compilerInterface.reset(CompilerInterface::createInstance(std::move(cache), true));
}
}
return this->compilerInterface.get();