Change builtin kernels compilation process

.bin and .gen files for builtin kernels are generated per revision now

Resolves: NEO-5821

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-05-20 10:07:53 +00:00
committed by Compute-Runtime-Automation
parent 0f32231fc8
commit ab52c70233
3 changed files with 42 additions and 11 deletions

View File

@@ -1019,7 +1019,7 @@ void OfflineCompiler::writeOutAllFiles() {
}
}
if (irBinary) {
if (irBinary && !inputFileSpirV) {
std::string irOutputFileName = generateFilePathForIr(fileBase) + generateOptsSuffix();
argHelper->saveOutput(irOutputFileName, irBinary, irBinarySize);