diff --git a/level_zero/core/source/cmdqueue/cmdqueue.cpp b/level_zero/core/source/cmdqueue/cmdqueue.cpp index dd37f369fc..85ad92e278 100644 --- a/level_zero/core/source/cmdqueue/cmdqueue.cpp +++ b/level_zero/core/source/cmdqueue/cmdqueue.cpp @@ -368,13 +368,13 @@ QueueProperties CommandQueue::extractQueueProperties(const ze_command_queue_desc auto baseProperties = static_cast(desc.pNext); while (baseProperties) { - if (baseProperties->stype == ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES) { + if (baseProperties->stype == ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 queueProperties.interruptHint = static_cast(desc.pNext)->uniqueMsix; } else if (auto syncDispatchMode = getSyncDispatchMode(baseProperties)) { if (syncDispatchMode.has_value()) { queueProperties.synchronizedDispatchMode = syncDispatchMode.value(); } - } else if (baseProperties->stype == ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES) { + } else if (baseProperties->stype == ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 queueProperties.copyOffloadHint = static_cast(desc.pNext)->copyOffloadEnabled; } diff --git a/level_zero/core/source/helpers/properties_parser.h b/level_zero/core/source/helpers/properties_parser.h index 333bc87d2c..0909ad6381 100644 --- a/level_zero/core/source/helpers/properties_parser.h +++ b/level_zero/core/source/helpers/properties_parser.h @@ -184,7 +184,7 @@ inline ze_result_t prepareL0StructuresLookupTable(StructuresLookupTable &lookupT } inline std::optional getSyncDispatchMode(const ze_base_desc_t *desc) { - if (desc->stype == ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC) { + if (desc->stype == ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 auto syncDispatch = reinterpret_cast(desc); return (syncDispatch->flags == ZE_SYNCHRONIZED_DISPATCH_ENABLED_EXP_FLAG ? NEO::SynchronizedDispatchMode::full : NEO::SynchronizedDispatchMode::limited); } diff --git a/level_zero/core/source/kernel/kernel_imp.cpp b/level_zero/core/source/kernel/kernel_imp.cpp index c09e356905..a7fb776721 100644 --- a/level_zero/core/source/kernel/kernel_imp.cpp +++ b/level_zero/core/source/kernel/kernel_imp.cpp @@ -948,7 +948,7 @@ ze_result_t KernelImp::getProperties(ze_kernel_properties_t *pKernelProperties) } else if (extendedProperties->stype == ZE_STRUCTURE_TYPE_KERNEL_MAX_GROUP_SIZE_EXT_PROPERTIES) { ze_kernel_max_group_size_properties_ext_t *properties = reinterpret_cast(extendedProperties); properties->maxGroupSize = maxKernelWorkGroupSize; - } else if (extendedProperties->stype == ZEX_STRUCTURE_KERNEL_REGISTER_FILE_SIZE_EXP) { + } else if (extendedProperties->stype == ZEX_STRUCTURE_KERNEL_REGISTER_FILE_SIZE_EXP) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 zex_kernel_register_file_size_exp_t *properties = reinterpret_cast(extendedProperties); properties->registerFileSize = kernelDescriptor.kernelAttributes.numGrfRequired; } diff --git a/level_zero/core/test/black_box_tests/zello_dp_support.cpp b/level_zero/core/test/black_box_tests/zello_dp_support.cpp index a8b6500d22..f4db579fe3 100644 --- a/level_zero/core/test/black_box_tests/zello_dp_support.cpp +++ b/level_zero/core/test/black_box_tests/zello_dp_support.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { // Gather Dot Product (DP) support from driver ze_device_module_properties_t deviceModProps = {ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES}; - ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; + ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 deviceModProps.pNext = &moduleDpProps; SUCCESS_OR_TERMINATE(zeDeviceGetModuleProperties(device, &deviceModProps)); diff --git a/level_zero/core/test/unit_tests/gen12lp/test_device_gen12lp.cpp b/level_zero/core/test/unit_tests/gen12lp/test_device_gen12lp.cpp index a9a41c6538..78d4bf0810 100644 --- a/level_zero/core/test/unit_tests/gen12lp/test_device_gen12lp.cpp +++ b/level_zero/core/test/unit_tests/gen12lp/test_device_gen12lp.cpp @@ -31,7 +31,7 @@ HWTEST2_F(DeviceFixtureGen12LP, GivenTargetGen12LPaWhenGettingMemoryPropertiesTh HWTEST2_F(DeviceFixtureGen12LP, GivenTargetGen12LPWhenGettingDpSupportThenReturnsTrue, IsXeLpg) { ze_device_module_properties_t deviceModProps = {ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES}; - ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; + ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 moduleDpProps.flags = 0u; deviceModProps.pNext = &moduleDpProps; diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_7.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_7.cpp index ebdb8e3766..481cb32bcd 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_7.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_7.cpp @@ -2157,7 +2157,7 @@ TEST(CommandList, givenContextGroupEnabledWhenCreatingImmediateCommandListWithIn } zex_intel_queue_allocate_msix_hint_exp_desc_t allocateMsix = {}; - allocateMsix.stype = ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES; + allocateMsix.stype = ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 allocateMsix.uniqueMsix = true; ze_command_queue_desc_t desc = {}; diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp index c7c3e93acf..5f65fc5319 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp @@ -87,7 +87,7 @@ HWTEST2_F(InOrderCmdListTests, givenEventSyncModeDescPassedWhenCreatingEventThen auto eventPool = std::unique_ptr(EventPool::create(driverHandle.get(), context, 0, nullptr, &eventPoolDesc, returnValue)); - zex_intel_event_sync_mode_exp_desc_t syncModeDesc = {ZEX_INTEL_STRUCTURE_TYPE_EVENT_SYNC_MODE_EXP_DESC}; + zex_intel_event_sync_mode_exp_desc_t syncModeDesc = {ZEX_INTEL_STRUCTURE_TYPE_EVENT_SYNC_MODE_EXP_DESC}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 ze_event_desc_t eventDesc = {}; eventDesc.pNext = &syncModeDesc; @@ -4509,7 +4509,7 @@ HWTEST2_F(InOrderCmdListTests, givenStandaloneEventWhenCallingSynchronizeThenRet } HWTEST2_F(InOrderCmdListTests, givenStandaloneCbEventWhenPassingExternalInterruptIdThenAssign, MatchAny) { - zex_intel_event_sync_mode_exp_desc_t syncModeDesc = {ZEX_INTEL_STRUCTURE_TYPE_EVENT_SYNC_MODE_EXP_DESC}; + zex_intel_event_sync_mode_exp_desc_t syncModeDesc = {ZEX_INTEL_STRUCTURE_TYPE_EVENT_SYNC_MODE_EXP_DESC}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 syncModeDesc.externalInterruptId = 123; ze_event_desc_t eventDesc = {}; diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_2.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_2.cpp index 24231ba865..ce0e90f2dd 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_2.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_2.cpp @@ -134,7 +134,7 @@ HWTEST2_F(CopyOffloadInOrderTests, givenQueueDescriptorWhenCreatingCmdListThenEn ze_command_list_handle_t cmdListHandle; - zex_intel_queue_copy_operations_offload_hint_exp_desc_t copyOffloadDesc = {ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES}; + zex_intel_queue_copy_operations_offload_hint_exp_desc_t copyOffloadDesc = {ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 copyOffloadDesc.copyOffloadEnabled = true; ze_command_queue_desc_t cmdQueueDesc = {ZE_STRUCTURE_TYPE_COMMAND_QUEUE_DESC}; @@ -1811,7 +1811,7 @@ HWTEST2_F(MultiTileSynchronizedDispatchTests, givenSyncDispatchExtensionWhenCrea ze_base_desc_t unknownDesc = {ZE_STRUCTURE_TYPE_FORCE_UINT32}; ze_synchronized_dispatch_exp_desc_t syncDispatchDesc = {}; - syncDispatchDesc.stype = ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC; + syncDispatchDesc.stype = ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 ze_command_list_desc_t cmdListDesc = {ZE_STRUCTURE_TYPE_COMMAND_LIST_DESC}; zex_command_list_handle_t hCmdList; @@ -1877,7 +1877,7 @@ HWTEST2_F(MultiTileSynchronizedDispatchTests, givenSyncDispatchExtensionWhenCrea ze_base_desc_t unknownDesc = {ZE_STRUCTURE_TYPE_FORCE_UINT32}; ze_synchronized_dispatch_exp_desc_t syncDispatchDesc = {}; - syncDispatchDesc.stype = ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC; + syncDispatchDesc.stype = ZE_STRUCTURE_TYPE_SYNCHRONIZED_DISPATCH_EXP_DESC; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 ze_command_queue_desc_t queueDesc = {ZE_STRUCTURE_TYPE_COMMAND_QUEUE_DESC}; zex_command_list_handle_t hCmdList; diff --git a/level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_3.cpp b/level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_3.cpp index 04f6eaf1f3..9076cab579 100644 --- a/level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_3.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_3.cpp @@ -1343,7 +1343,7 @@ TEST(CommandQueue, givenContextGroupEnabledWhenCreatingCommandQueuesWithInterrup } zex_intel_queue_allocate_msix_hint_exp_desc_t allocateMsix = {}; - allocateMsix.stype = ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES; + allocateMsix.stype = ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 allocateMsix.uniqueMsix = true; ze_command_queue_desc_t desc = {}; diff --git a/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp b/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp index 3bcf8ffcc0..db9e767f1e 100644 --- a/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp +++ b/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp @@ -1617,7 +1617,7 @@ TEST_F(DeviceTest, whenGetDevicePropertiesCalledThenCorrectDevicePropertyEccFlag ze_device_properties_t deviceProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; device->getProperties(&deviceProps); - auto expected = (this->neoDevice->getDeviceInfo().errorCorrectionSupport) ? ZE_DEVICE_PROPERTY_FLAG_ECC : static_cast(0u); + auto expected = (this->neoDevice->getDeviceInfo().errorCorrectionSupport) ? ZE_DEVICE_PROPERTY_FLAG_ECC : static_cast(0u); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 EXPECT_EQ(expected, deviceProps.flags & ZE_DEVICE_PROPERTY_FLAG_ECC); } @@ -6024,7 +6024,7 @@ TEST_F(DeviceTest, GivenValidDeviceWhenQueryingKernelTimestampsProptertiesThenCo TEST_F(DeviceTest, givenDeviceWhenQueryingCmdListMemWaitOnMemDataSizeThenReturnValueFromHelper) { ze_device_properties_t devProps; - ze_intel_device_command_list_wait_on_memory_data_size_exp_desc_t sizeProps = {ZE_INTEL_STRUCTURE_TYPE_DEVICE_COMMAND_LIST_WAIT_ON_MEMORY_DATA_SIZE_EXP_DESC}; + ze_intel_device_command_list_wait_on_memory_data_size_exp_desc_t sizeProps = {ZE_INTEL_STRUCTURE_TYPE_DEVICE_COMMAND_LIST_WAIT_ON_MEMORY_DATA_SIZE_EXP_DESC}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 devProps.stype = ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES; devProps.pNext = &sizeProps; @@ -6037,7 +6037,7 @@ TEST_F(DeviceTest, givenDeviceWhenQueryingCmdListMemWaitOnMemDataSizeThenReturnV TEST_F(DeviceTest, givenDeviecWhenQueryingMediaPropertiesThenReturnZero) { ze_device_properties_t devProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; - ze_intel_device_media_exp_properties_t mediaProps = {ZE_STRUCTURE_TYPE_INTEL_DEVICE_MEDIA_EXP_PROPERTIES}; + ze_intel_device_media_exp_properties_t mediaProps = {ZE_STRUCTURE_TYPE_INTEL_DEVICE_MEDIA_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 mediaProps.numDecoderCores = 123; mediaProps.numEncoderCores = 456; @@ -6257,7 +6257,7 @@ TEST(ExtensionLookupTest, given2DBlockLoadFalseAnd2DBlockStoreFalseThenFlagsIndi Mock2DTransposeDevice deviceImp(neoMockDevice, neoMockDevice->getExecutionEnvironment()); ze_device_properties_t deviceProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; - ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; + ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 deviceProps.pNext = &blockArrayProps; auto success = L0::Device::fromHandle(static_cast(&deviceImp))->getProperties(&deviceProps); @@ -6272,7 +6272,7 @@ TEST(ExtensionLookupTest, given2DBlockLoadTrueAnd2DBlockStoreFalseThenFlagsIndic Mock2DTransposeDevice deviceImp(neoMockDevice, neoMockDevice->getExecutionEnvironment()); ze_device_properties_t deviceProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; - ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; + ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 deviceProps.pNext = &blockArrayProps; auto success = L0::Device::fromHandle(static_cast(&deviceImp))->getProperties(&deviceProps); @@ -6287,7 +6287,7 @@ TEST(ExtensionLookupTest, given2DBlockLoadFalseAnd2DBlockStoreTrueThenFlagsIndic Mock2DTransposeDevice deviceImp(neoMockDevice, neoMockDevice->getExecutionEnvironment()); ze_device_properties_t deviceProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; - ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; + ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 deviceProps.pNext = &blockArrayProps; auto success = L0::Device::fromHandle(static_cast(&deviceImp))->getProperties(&deviceProps); @@ -6302,7 +6302,7 @@ TEST(ExtensionLookupTest, given2DBlockLoadTrueAnd2DBlockStoreTrueThenFlagsIndica Mock2DTransposeDevice deviceImp(neoMockDevice, neoMockDevice->getExecutionEnvironment()); ze_device_properties_t deviceProps = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES}; - ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; + ze_intel_device_block_array_exp_properties_t blockArrayProps = {ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 deviceProps.pNext = &blockArrayProps; auto success = L0::Device::fromHandle(static_cast(&deviceImp))->getProperties(&deviceProps); diff --git a/level_zero/core/test/unit_tests/sources/image/test_image.cpp b/level_zero/core/test/unit_tests/sources/image/test_image.cpp index a4bdb8b2c0..9f11acefd6 100644 --- a/level_zero/core/test/unit_tests/sources/image/test_image.cpp +++ b/level_zero/core/test/unit_tests/sources/image/test_image.cpp @@ -1378,7 +1378,7 @@ HWTEST2_F(ImageCreate, WhenImageIsCreatedThenDescMatchesSurfaceFormats, IsAtMost // Some formats aren't compilable on all generations, so for those we // skip the format check and rely on gen-specific tests defined elsewhere. static const typename RENDER_SURFACE_STATE::SURFACE_FORMAT noFormatCheck = - static_cast(0xffff); + static_cast(0xffff); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 struct FormatInfo { size_t elemBitSize; diff --git a/level_zero/core/test/unit_tests/xe2_hpg_core/test_device_xe2_hpg_core.cpp b/level_zero/core/test/unit_tests/xe2_hpg_core/test_device_xe2_hpg_core.cpp index 813662183d..a72ccba643 100644 --- a/level_zero/core/test/unit_tests/xe2_hpg_core/test_device_xe2_hpg_core.cpp +++ b/level_zero/core/test/unit_tests/xe2_hpg_core/test_device_xe2_hpg_core.cpp @@ -34,7 +34,7 @@ HWTEST2_F(DeviceXe2HpgCoreTest, whenCallingGetMemoryPropertiesWithNonNullPtrThen HWTEST2_F(DeviceXe2HpgCoreTest, GivenTargetXeHpgCoreWhenGettingDpSupportThenReturnsTrue, IsXe2HpgCore) { ze_device_module_properties_t deviceModProps = {ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES}; - ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; + ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 moduleDpProps.flags = 0u; deviceModProps.pNext = &moduleDpProps; diff --git a/level_zero/core/test/unit_tests/xe_hpc_core/test_device_xe_hpc_core.cpp b/level_zero/core/test/unit_tests/xe_hpc_core/test_device_xe_hpc_core.cpp index f95460d8f8..49e12dde3e 100644 --- a/level_zero/core/test/unit_tests/xe_hpc_core/test_device_xe_hpc_core.cpp +++ b/level_zero/core/test/unit_tests/xe_hpc_core/test_device_xe_hpc_core.cpp @@ -94,7 +94,7 @@ HWTEST2_F(DeviceTestXeHpc, givenXeHpcBStepWhenCreatingMultiTileDeviceThenExpectI HWTEST2_F(DeviceTestXeHpc, GivenTargetXeHPCWhenGettingDpSupportThenReturnsTrue, IsXeHpcCore) { ze_device_module_properties_t deviceModProps = {ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES}; - ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; + ze_intel_device_module_dp_exp_properties_t moduleDpProps = {ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES}; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 moduleDpProps.flags = 0u; deviceModProps.pNext = &moduleDpProps; diff --git a/level_zero/tools/source/metrics/metric_ip_sampling_source.cpp b/level_zero/tools/source/metrics/metric_ip_sampling_source.cpp index 6823380a8c..465439168f 100644 --- a/level_zero/tools/source/metrics/metric_ip_sampling_source.cpp +++ b/level_zero/tools/source/metrics/metric_ip_sampling_source.cpp @@ -222,7 +222,7 @@ ze_result_t IpSamplingMetricSourceImp::handleMetricGroupExtendedProperties(zet_m retVal = ZE_RESULT_SUCCESS; } - if (extendedProperties->stype == ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP) { + if (extendedProperties->stype == ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 zet_intel_metric_group_type_exp_t *groupType = reinterpret_cast(extendedProperties); groupType->type = ZET_INTEL_METRIC_GROUP_TYPE_EXP_OTHER; retVal = ZE_RESULT_SUCCESS; diff --git a/level_zero/tools/source/metrics/metric_oa_source.cpp b/level_zero/tools/source/metrics/metric_oa_source.cpp index 1db7dacdb0..7b102381cf 100644 --- a/level_zero/tools/source/metrics/metric_oa_source.cpp +++ b/level_zero/tools/source/metrics/metric_oa_source.cpp @@ -225,7 +225,7 @@ ze_result_t OaMetricSourceImp::handleMetricGroupExtendedProperties(zet_metric_gr } } - if (extendedProperties->stype == ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP) { + if (extendedProperties->stype == ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP) { // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 zet_intel_metric_group_type_exp_t *groupType = reinterpret_cast(extendedProperties); groupType->type = ZET_INTEL_METRIC_GROUP_TYPE_EXP_OTHER; retVal = ZE_RESULT_SUCCESS; diff --git a/level_zero/tools/test/unit_tests/sources/metrics/test_metric_ip_sampling_enumeration.cpp b/level_zero/tools/test/unit_tests/sources/metrics/test_metric_ip_sampling_enumeration.cpp index 5ed56911e0..28c220b1a4 100644 --- a/level_zero/tools/test/unit_tests/sources/metrics/test_metric_ip_sampling_enumeration.cpp +++ b/level_zero/tools/test/unit_tests/sources/metrics/test_metric_ip_sampling_enumeration.cpp @@ -302,9 +302,9 @@ HWTEST2_F(MetricIpSamplingEnumerationTest, GivenEnumerationIsSuccessfulWhenQuery ASSERT_NE(metricGroups[0], nullptr); zet_intel_metric_group_type_exp_t metricGroupType{}; - metricGroupType.stype = ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP; + metricGroupType.stype = ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 metricGroupType.pNext = nullptr; - metricGroupType.type = static_cast(0xffffffff); + metricGroupType.type = static_cast(0xffffffff); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 zet_metric_group_properties_t metricGroupProperties = {ZET_STRUCTURE_TYPE_METRIC_GROUP_PROPERTIES, &metricGroupType}; EXPECT_EQ(zetMetricGroupGetProperties(metricGroups[0], &metricGroupProperties), ZE_RESULT_SUCCESS); diff --git a/level_zero/tools/test/unit_tests/sources/metrics/test_metric_oa_enumeration_1.cpp b/level_zero/tools/test/unit_tests/sources/metrics/test_metric_oa_enumeration_1.cpp index 057fccf9ba..f3f14d0068 100644 --- a/level_zero/tools/test/unit_tests/sources/metrics/test_metric_oa_enumeration_1.cpp +++ b/level_zero/tools/test/unit_tests/sources/metrics/test_metric_oa_enumeration_1.cpp @@ -3348,9 +3348,9 @@ TEST_F(MetricEnumerationTest, givenValidArgumentsWhenZetGetMetricGroupProperties EXPECT_NE(metricGroupHandle, nullptr); zet_intel_metric_group_type_exp_t metricGroupType{}; - metricGroupType.stype = ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP; + metricGroupType.stype = ZET_INTEL_STRUCTURE_TYPE_METRIC_GROUP_TYPE_EXP; // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 metricGroupType.pNext = nullptr; - metricGroupType.type = static_cast(0xffffffff); + metricGroupType.type = static_cast(0xffffffff); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 metricGroupProperties.pNext = &metricGroupType; diff --git a/manifests/manifest.yml b/manifests/manifest.yml index df90780917..6e1d554492 100644 --- a/manifests/manifest.yml +++ b/manifests/manifest.yml @@ -31,7 +31,7 @@ components: branch: master dest_dir: infra fetch_tags: true - revision: v6427 + revision: v6428 type: git internal: branch: master diff --git a/opencl/test/unit_test/command_queue/command_queue_tests.cpp b/opencl/test/unit_test/command_queue/command_queue_tests.cpp index b59e2099cf..c48ede3fe7 100644 --- a/opencl/test/unit_test/command_queue/command_queue_tests.cpp +++ b/opencl/test/unit_test/command_queue/command_queue_tests.cpp @@ -2036,7 +2036,7 @@ TEST_F(CsrSelectionCommandQueueWithBlitterTests, givenInvalidTransferDirectionWh builtinOpParams.dstMemObj = &dstMemObj; CsrSelectionArgs args{CL_COMMAND_COPY_BUFFER, &srcMemObj, &dstMemObj, 0u, nullptr}; - args.direction = static_cast(0xFF); + args.direction = static_cast(0xFF); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 EXPECT_ANY_THROW(queue->selectCsrForBuiltinOperation(args)); } diff --git a/opencl/test/unit_test/command_stream/command_stream_receiver_hw_2_tests.cpp b/opencl/test/unit_test/command_stream/command_stream_receiver_hw_2_tests.cpp index 44f8be8b3f..40b53014e6 100644 --- a/opencl/test/unit_test/command_stream/command_stream_receiver_hw_2_tests.cpp +++ b/opencl/test/unit_test/command_stream/command_stream_receiver_hw_2_tests.cpp @@ -1762,7 +1762,7 @@ HWTEST_F(BcsTests, givenAuxTranslationRequestWhenBlitCalledThenProgramCommandCor HWTEST_F(BcsTests, givenInvalidBlitDirectionWhenConstructPropertiesThenExceptionIsThrow) { auto &csr = pDevice->getUltCommandStreamReceiver(); - EXPECT_THROW(ClBlitProperties::constructProperties(static_cast(7), csr, {}), std::exception); + EXPECT_THROW(ClBlitProperties::constructProperties(static_cast(7), csr, {}), std::exception); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } HWTEST_F(BcsTests, givenBlitterDirectSubmissionEnabledWhenProgrammingBlitterThenExpectRingBufferDispatched) { diff --git a/opencl/test/unit_test/helpers/get_info_status_mapper_tests.cpp b/opencl/test/unit_test/helpers/get_info_status_mapper_tests.cpp index 3df975e3df..d65b16bec5 100644 --- a/opencl/test/unit_test/helpers/get_info_status_mapper_tests.cpp +++ b/opencl/test/unit_test/helpers/get_info_status_mapper_tests.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2023 Intel Corporation + * Copyright (C) 2020-2024 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -21,6 +21,6 @@ TEST(getInfoStatusMapper, GivenValidGetInfoStatusWhenTranslatingThenExpectedClCo } TEST(getInfoStatusMapper, GivenInvalidGetInfoStatusWhenTranslatingThenClInvalidValueIsReturned) { - auto getInfoStatus = changeGetInfoStatusToCLResultType(static_cast(1)); + auto getInfoStatus = changeGetInfoStatusToCLResultType(static_cast(1)); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 EXPECT_EQ(CL_INVALID_VALUE, getInfoStatus); } diff --git a/opencl/test/unit_test/offline_compiler/offline_linker_tests.cpp b/opencl/test/unit_test/offline_compiler/offline_linker_tests.cpp index 04a4e93863..c976dd553c 100644 --- a/opencl/test/unit_test/offline_compiler/offline_linker_tests.cpp +++ b/opencl/test/unit_test/offline_compiler/offline_linker_tests.cpp @@ -634,7 +634,7 @@ TEST_F(OfflineLinkerTest, GivenHelpRequestWhenExecuteIsInvokedThenHelpIsPrinted) TEST_F(OfflineLinkerTest, GivenInvalidOperationModeWhenExecuteIsInvokedThenErrorIsIssued) { MockOfflineLinker mockOfflineLinker{&mockArgHelper, std::move(mockOclocIgcFacade)}; - mockOfflineLinker.operationMode = static_cast(7); + mockOfflineLinker.operationMode = static_cast(7); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 ::testing::internal::CaptureStdout(); const auto executionResult{mockOfflineLinker.execute()}; diff --git a/shared/source/device_binary_format/elf/elf_encoder.h b/shared/source/device_binary_format/elf/elf_encoder.h index 3a5e51266f..11263f8a1c 100644 --- a/shared/source/device_binary_format/elf/elf_encoder.h +++ b/shared/source/device_binary_format/elf/elf_encoder.h @@ -95,12 +95,12 @@ struct ElfEncoder { template ElfSectionHeader &appendSection(SectionHeaderEnumT sectionType, ConstStringRef sectionLabel, const ArrayRef sectionData) { - return appendSection(static_cast(sectionType), sectionLabel, sectionData); + return appendSection(static_cast(sectionType), sectionLabel, sectionData); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } template ElfSectionHeader &appendSection(SectionHeaderEnumT sectionType, ConstStringRef sectionLabel, const std::string §ionData) { - return appendSection(static_cast(sectionType), sectionLabel, + return appendSection(static_cast(sectionType), sectionLabel, // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 ArrayRef(reinterpret_cast(sectionData.c_str()), sectionData.size() + 1)); } diff --git a/shared/test/unit_test/device_binary_format/device_binary_format_zebin_tests.cpp b/shared/test/unit_test/device_binary_format/device_binary_format_zebin_tests.cpp index 49cbc14c95..432854fbd0 100644 --- a/shared/test/unit_test/device_binary_format/device_binary_format_zebin_tests.cpp +++ b/shared/test/unit_test/device_binary_format/device_binary_format_zebin_tests.cpp @@ -175,7 +175,7 @@ TEST(UnpackSingleDeviceBinaryZebin, WhenValidBinaryForDifferentDeviceThenUnpacki zebin.machine = static_cast(IGFX_XE2_HPG_CORE); NEO::Zebin::Elf::ZebinTargetFlags targetFlags; targetDevice.productFamily = IGFX_UNKNOWN; - targetDevice.coreFamily = static_cast(zebin.machine + 1); + targetDevice.coreFamily = static_cast(zebin.machine + 1); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 targetFlags.machineEntryUsesGfxCoreInsteadOfProductFamily = true; zebin.flags = targetFlags.packed; unpackResult = NEO::unpackSingleDeviceBinary(ArrayRef::fromAny(&zebin, 1U), "", targetDevice, unpackErrors, unpackWarnings); diff --git a/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp b/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp index 12b6af0e65..5f9717cca8 100644 --- a/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp +++ b/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp @@ -6462,7 +6462,7 @@ TEST(ValidateTargetDeviceTests, givenMismatechAotConfigWhenValidatingTargetDevic targetDevice.aotConfig.value = 0x00001234; targetDevice.maxPointerSizeInBytes = 8u; - auto mismatchedAotConfig = static_cast(0x00004321); + auto mismatchedAotConfig = static_cast(0x00004321); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 Zebin::Elf::ZebinTargetFlags targetMetadata; auto res = validateTargetDevice(targetDevice, Zebin::Elf::EI_CLASS_64, productFamily, renderCoreFamily, mismatchedAotConfig, targetMetadata); EXPECT_FALSE(res); diff --git a/shared/test/unit_test/helpers/app_resource_tests.cpp b/shared/test/unit_test/helpers/app_resource_tests.cpp index e11a7c0b22..95999e73e2 100644 --- a/shared/test/unit_test/helpers/app_resource_tests.cpp +++ b/shared/test/unit_test/helpers/app_resource_tests.cpp @@ -32,7 +32,7 @@ struct AppResourceTests : public MockExecutionEnvironmentTagTest { }; TEST_F(AppResourceTests, givenIncorrectGraphicsAllocationTypeWhenGettingResourceTagThenNOTFOUNDIsReturned) { - auto tag = AppResourceHelper::getResourceTagStr(static_cast(999)); + auto tag = AppResourceHelper::getResourceTagStr(static_cast(999)); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 EXPECT_STREQ(tag, "NOTFOUND"); } diff --git a/shared/test/unit_test/helpers/engine_node_helper_tests.cpp b/shared/test/unit_test/helpers/engine_node_helper_tests.cpp index 3dcb9591f6..b2f1b519d3 100644 --- a/shared/test/unit_test/helpers/engine_node_helper_tests.cpp +++ b/shared/test/unit_test/helpers/engine_node_helper_tests.cpp @@ -24,7 +24,7 @@ TEST(EngineNodeHelperTest, givenValidEngineUsageWhenGettingStringRepresentationT TEST(EngineNodeHelperTest, givenInValidEngineUsageWhenGettingStringRepresentationThenReturnUnknown) { EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineUsageToString(EngineUsage::engineUsageCount)); - EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineUsageToString(static_cast(0xcc))); + EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineUsageToString(static_cast(0xcc))); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } TEST(EngineNodeHelperTest, givenValidEngineTypeWhenGettingStringRepresentationThenItIsCorrect) { @@ -79,7 +79,7 @@ TEST(EngineNodeHelperTest, givenCcsWhenGettingCcsIndexThenReturnCorrectIndex) { TEST(EngineNodeHelperTest, givenInvalidEngineTypeWhenGettingStringRepresentationThenItIsCorrect) { EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineTypeToString(aub_stream::EngineType::NUM_ENGINES)); - EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineTypeToString(static_cast(0xcc))); + EXPECT_EQ(std::string{"Unknown"}, EngineHelpers::engineTypeToString(static_cast(0xcc))); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } TEST(EngineNodeHelperTest, givenLinkCopyEnginesSupportedWhenGettingBcsEngineTypeThenFirstReturnMainCopyEngineAndThenRoundRobinBetweenLinkEngines) { diff --git a/shared/test/unit_test/helpers/gpu_page_fault_helper_tests.cpp b/shared/test/unit_test/helpers/gpu_page_fault_helper_tests.cpp index 5f93c63dd3..fdf07cc34c 100644 --- a/shared/test/unit_test/helpers/gpu_page_fault_helper_tests.cpp +++ b/shared/test/unit_test/helpers/gpu_page_fault_helper_tests.cpp @@ -14,14 +14,14 @@ TEST(GpuPageFaultHelperTest, givenValidAndInvalidFaultTypesWhenGettingStringRepr EXPECT_EQ(std::string{"NotPresent"}, GpuPageFaultHelpers::faultTypeToString(FaultType::notPresent)); EXPECT_EQ(std::string{"WriteAccessViolation"}, GpuPageFaultHelpers::faultTypeToString(FaultType::writeAccessViolation)); EXPECT_EQ(std::string{"AtomicAccessViolation"}, GpuPageFaultHelpers::faultTypeToString(FaultType::atomicAccessViolation)); - EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultTypeToString(static_cast(0xcc))); + EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultTypeToString(static_cast(0xcc))); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } TEST(GpuPageFaultHelperTest, givenValidAndInvalidFaultAccessesWhenGettingStringRepresentationThenItIsCorrect) { EXPECT_EQ(std::string{"Read"}, GpuPageFaultHelpers::faultAccessToString(FaultAccess::read)); EXPECT_EQ(std::string{"Write"}, GpuPageFaultHelpers::faultAccessToString(FaultAccess::write)); EXPECT_EQ(std::string{"Atomic"}, GpuPageFaultHelpers::faultAccessToString(FaultAccess::atomic)); - EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultAccessToString(static_cast(0xcc))); + EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultAccessToString(static_cast(0xcc))); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } TEST(GpuPageFaultHelperTest, givenValidAndInvalidFaultLevelWhenGettingStringRepresentationThenItIsCorrect) { @@ -30,5 +30,5 @@ TEST(GpuPageFaultHelperTest, givenValidAndInvalidFaultLevelWhenGettingStringRepr EXPECT_EQ(std::string{"PDP"}, GpuPageFaultHelpers::faultLevelToString(FaultLevel::pdp)); EXPECT_EQ(std::string{"PML4"}, GpuPageFaultHelpers::faultLevelToString(FaultLevel::pml4)); EXPECT_EQ(std::string{"PML5"}, GpuPageFaultHelpers::faultLevelToString(FaultLevel::pml5)); - EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultLevelToString(static_cast(0xcc))); + EXPECT_EQ(std::string{"Unknown"}, GpuPageFaultHelpers::faultLevelToString(static_cast(0xcc))); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 } diff --git a/shared/test/unit_test/utilities/logger_tests.cpp b/shared/test/unit_test/utilities/logger_tests.cpp index e8e1a8b724..013ec92c43 100644 --- a/shared/test/unit_test/utilities/logger_tests.cpp +++ b/shared/test/unit_test/utilities/logger_tests.cpp @@ -502,7 +502,7 @@ TEST(AllocationTypeLoggingSingle, givenGraphicsAllocationTypeWhenConvertingToStr DebugVariables flags; FullyEnabledFileLogger fileLogger(testFile, flags); - GraphicsAllocation graphicsAllocation(0, 1u /*num gmms*/, static_cast(999), nullptr, 0, 0, MemoryPool::memoryNull, MemoryManager::maxOsContextCount, 0llu); + GraphicsAllocation graphicsAllocation(0, 1u /*num gmms*/, static_cast(999), nullptr, 0, 0, MemoryPool::memoryNull, MemoryManager::maxOsContextCount, 0llu); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 auto result = getAllocationTypeString(&graphicsAllocation); diff --git a/shared/test/unit_test/utilities/software_tags_manager_tests.cpp b/shared/test/unit_test/utilities/software_tags_manager_tests.cpp index 95b796d652..2630d35a40 100644 --- a/shared/test/unit_test/utilities/software_tags_manager_tests.cpp +++ b/shared/test/unit_test/utilities/software_tags_manager_tests.cpp @@ -240,7 +240,7 @@ TEST_P(SoftwareTagsParametrizedTests, whenGetOpCodeIsCalledThenCorrectValueIsRet } TEST(SoftwareTagsTests, whenGetMarkerNoopIDCalledThenCorectValueIsReturned) { - uint32_t id = SWTags::BaseTag::getMarkerNoopID(static_cast(testOpCode)); + uint32_t id = SWTags::BaseTag::getMarkerNoopID(static_cast(testOpCode)); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange), NEO-12901 EXPECT_EQ(testOpCode, id); }