mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Enable building the spirv kernel more than once
Change-Id: Ia93456e7b7afaee07fa633727e943d8db2736f07 Resolves: NEO-2837 Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8219cfa000
commit
066743747d
@@ -48,7 +48,7 @@ cl_int CompilerInterface::build(
|
||||
IGC::CodeType::CodeType_t highLevelCodeType = IGC::CodeType::undefined;
|
||||
IGC::CodeType::CodeType_t intermediateCodeType = IGC::CodeType::undefined;
|
||||
|
||||
if (program.getProgramBinaryType() == CL_PROGRAM_BINARY_TYPE_INTERMEDIATE) {
|
||||
if (program.isCreatedFromIL() || (program.getProgramBinaryType() == CL_PROGRAM_BINARY_TYPE_INTERMEDIATE)) {
|
||||
if (program.getIsSpirV()) {
|
||||
intermediateCodeType = IGC::CodeType::spirV;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user