mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Allow for zebin rebuild when IR is present
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f804eb7b2b
commit
2ae3f3e521
@@ -64,10 +64,12 @@ cl_int Program::build(
|
||||
deviceBuildInfos[device].buildStatus = CL_BUILD_IN_PROGRESS;
|
||||
}
|
||||
|
||||
if (nullptr != buildOptions) {
|
||||
options = buildOptions;
|
||||
} else if (this->createdFrom != CreatedFrom::BINARY) {
|
||||
options = "";
|
||||
if (this->createdFrom != CreatedFrom::BINARY) {
|
||||
if (nullptr != buildOptions) {
|
||||
options = buildOptions;
|
||||
} else {
|
||||
options = "";
|
||||
}
|
||||
}
|
||||
|
||||
const bool shouldSuppressRebuildWarning{CompilerOptions::extract(CompilerOptions::noRecompiledFromIr, options)};
|
||||
|
||||
Reference in New Issue
Block a user