mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Unify meaning of RebuildPrecompiledKernels across OCL and L0 APIs
Resolves: NEO-7364 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
daa26701e4
commit
2df001327a
@@ -193,7 +193,7 @@ cl_int Program::createProgramFromBinary(
|
||||
this->buildInfos[rootDeviceIndex].debugDataSize = singleDeviceBinary.debugData.size();
|
||||
|
||||
bool rebuild = isRebuiltToPatchtokensRequired(&clDevice.getDevice(), archive, this->options, this->isBuiltIn);
|
||||
rebuild |= isBuiltIn && DebugManager.flags.RebuildPrecompiledKernels.get();
|
||||
rebuild |= DebugManager.flags.RebuildPrecompiledKernels.get();
|
||||
if (rebuild && 0u == this->irBinarySize) {
|
||||
return CL_INVALID_BINARY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user