From 292f16d423879076d9faa7076903bcc02ba89212 Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Thu, 24 Feb 2022 11:46:16 +0000 Subject: [PATCH] Remove handling of DATA_PARAMETER_LOCAL_ID_BUFFER Related-To: NEO-5081, IGC-4710 Signed-off-by: Mateusz Jablonski --- shared/source/device_binary_format/patchtokens_decoder.cpp | 1 - .../unit_test/device_binary_format/patchtokens_dumper_tests.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/shared/source/device_binary_format/patchtokens_decoder.cpp b/shared/source/device_binary_format/patchtokens_decoder.cpp index 84b7f300b1..0dc821eb54 100644 --- a/shared/source/device_binary_format/patchtokens_decoder.cpp +++ b/shared/source/device_binary_format/patchtokens_decoder.cpp @@ -303,7 +303,6 @@ inline void decodeKernelDataParameterToken(const SPatchDataParameterBuffer *toke case DATA_PARAMETER_EXECUTION_MASK: case DATA_PARAMETER_VME_IMAGE_TYPE: case DATA_PARAMETER_VME_MB_SKIP_BLOCK_TYPE: - case DATA_PARAMETER_LOCAL_ID_BUFFER: // ignored intentionally break; } diff --git a/shared/test/unit_test/device_binary_format/patchtokens_dumper_tests.cpp b/shared/test/unit_test/device_binary_format/patchtokens_dumper_tests.cpp index c98dc1ff6e..49ce68fc68 100644 --- a/shared/test/unit_test/device_binary_format/patchtokens_dumper_tests.cpp +++ b/shared/test/unit_test/device_binary_format/patchtokens_dumper_tests.cpp @@ -2094,7 +2094,7 @@ TEST(PatchTokenDumper, GivenAnyTokenThenDumpingIsHandled) { auto kernelDataParamToken = static_cast(kernelToken); *kernelDataParamToken = PatchTokensTestData::initDataParameterBufferToken(iOpenCL::DATA_PARAMETER_BUFFER_OFFSET); kernelDataParamToken->Size = maxTokenSize; - std::unordered_set dataParamTokensPasslist{6, 7, 17, 19, 36, 37, 39, 40, 41, iOpenCL::DATA_PARAMETER_LOCAL_ID_BUFFER}; + std::unordered_set dataParamTokensPasslist{6, 7, 17, 19, 36, 37, 39, 40, 41}; for (int i = 0; i < iOpenCL::NUM_DATA_PARAMETER_TOKENS; ++i) { if (dataParamTokensPasslist.count(i) != 0) { continue;