From c38053f4042e1e00b7fb36d6e6a849b67c9ac93f Mon Sep 17 00:00:00 2001 From: Mateusz Hoppe Date: Mon, 29 Sep 2025 19:30:01 +0000 Subject: [PATCH] fix: set IGC as default generator prior decoding zebin Related-To: NEO-16231, NEO-16167 Signed-off-by: Mateusz Hoppe Source: d4ef7dae2641a560344ea827cfca603e9255a2f0 --- opencl/test/unit_test/api/cl_build_program_tests.inl | 2 +- .../source/device_binary_format/device_binary_format_zebin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/test/unit_test/api/cl_build_program_tests.inl b/opencl/test/unit_test/api/cl_build_program_tests.inl index a9e22a4e93..47ca7fc95f 100644 --- a/opencl/test/unit_test/api/cl_build_program_tests.inl +++ b/opencl/test/unit_test/api/cl_build_program_tests.inl @@ -684,7 +684,7 @@ kernels: MultiDeviceKernel *kernel = castToObject(pKernel); Program *program = castToObject(pProgram); EXPECT_EQ(4u, program->getIndirectAccessBufferVersion()); - EXPECT_FALSE(kernel->getKernelInfos()[1]->kernelDescriptor.kernelMetadata.isGeneratedByIgc); + EXPECT_TRUE(kernel->getKernelInfos()[1]->kernelDescriptor.kernelMetadata.isGeneratedByIgc); retVal = clReleaseKernel(pKernel); EXPECT_EQ(CL_SUCCESS, retVal); diff --git a/shared/source/device_binary_format/device_binary_format_zebin.cpp b/shared/source/device_binary_format/device_binary_format_zebin.cpp index 5e50ae2b5e..215c06e7f2 100644 --- a/shared/source/device_binary_format/device_binary_format_zebin.cpp +++ b/shared/source/device_binary_format/device_binary_format_zebin.cpp @@ -116,7 +116,7 @@ DecodeError decodeSingleZebin(ProgramInfo &dst, const SingleDeviceBinary &src, s } GeneratorFeatureVersions generatorFeatures = {}; - GeneratorType generator = {}; + GeneratorType generator = {GeneratorType::igc}; auto ret = Zebin::validateTargetDevice(elf, src.targetDevice, outErrReason, outWarning, generatorFeatures, generator); if (!ret && elf.elfFileHeader->machine == Elf::ElfMachine::EM_INTELGT) { return DecodeError::invalidBinary;