mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user