mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
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:
committed by
Compute-Runtime-Automation
parent
4a9b918a85
commit
9c3d9d803f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user