diff --git a/opencl/test/unit_test/aub_tests/command_stream/aub_walker_partition_tests_xehp_and_later.cpp b/opencl/test/unit_test/aub_tests/command_stream/aub_walker_partition_tests_xehp_and_later.cpp index c1229a555f..b46da0b990 100644 --- a/opencl/test/unit_test/aub_tests/command_stream/aub_walker_partition_tests_xehp_and_later.cpp +++ b/opencl/test/unit_test/aub_tests/command_stream/aub_walker_partition_tests_xehp_and_later.cpp @@ -976,6 +976,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, AubWalkerPartitionZeroTest, givenNonBlockingAtomicO HWCMDTEST_F(IGFX_XE_HP_CORE, AubWalkerPartitionZeroTest, givenPredicatedCommandBufferWhenItIsExecutedThenAtomicIsIncrementedEquallyToPartitionCountPlusOne) { MockExecutionEnvironment mockExecutionEnvironment{}; using DefaultWalkerType = typename FamilyType::DefaultWalkerType; + using PostSyncType = typename DefaultWalkerType::PostSyncType; auto streamCpuPointer = taskStream->getSpace(0); auto postSyncAddress = helperSurface->getGpuAddress(); @@ -985,7 +986,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, AubWalkerPartitionZeroTest, givenPredicatedCommandB walkerCmd.setPartitionType(DefaultWalkerType::PARTITION_TYPE::PARTITION_TYPE_X); walkerCmd.getInterfaceDescriptor().setNumberOfThreadsInGpgpuThreadGroup(1u); walkerCmd.getPostSync().setDestinationAddress(postSyncAddress); - walkerCmd.getPostSync().setOperation(POSTSYNC_DATA::OPERATION::OPERATION_WRITE_TIMESTAMP); + walkerCmd.getPostSync().setOperation(PostSyncType::OPERATION::OPERATION_WRITE_TIMESTAMP); WalkerPartition::WalkerPartitionArgs testArgs = {}; testArgs.initializeWparidRegister = true; diff --git a/opencl/test/unit_test/helpers/hardware_commands_helper_tests.cpp b/opencl/test/unit_test/helpers/hardware_commands_helper_tests.cpp index 7dce568683..b5503fca56 100644 --- a/opencl/test/unit_test/helpers/hardware_commands_helper_tests.cpp +++ b/opencl/test/unit_test/helpers/hardware_commands_helper_tests.cpp @@ -1090,8 +1090,9 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, GivenKernelWithSamplersWhenInd } HWTEST2_F(HardwareCommandsTest, givenBindlessKernelWithBufferArgWhenSendIndirectStateThenSurfaceStateIsCopiedToHeapAndCrossThreadDataIsCorrectlyPatched, IsAtLeastXeHpCore) { - using INTERFACE_DESCRIPTOR_DATA = typename FamilyType::INTERFACE_DESCRIPTOR_DATA; + using DefaultWalkerType = typename FamilyType::DefaultWalkerType; + using InterfaceDescriptorType = typename DefaultWalkerType::InterfaceDescriptorType; CommandQueueHw cmdQ(pContext, pClDevice, 0, false); @@ -1132,8 +1133,8 @@ HWTEST2_F(HardwareCommandsTest, givenBindlessKernelWithBufferArgWhenSendIndirect auto isCcsUsed = EngineHelpers::isCcs(cmdQ.getGpgpuEngine().osContext->getEngineType()); auto kernelUsesLocalIds = HardwareCommandsHelper::kernelUsesLocalIds(mockKernel); - INTERFACE_DESCRIPTOR_DATA interfaceDescriptorData; - HardwareCommandsHelper::template sendIndirectState( + InterfaceDescriptorType interfaceDescriptorData; + HardwareCommandsHelper::template sendIndirectState( commandStream, dsh, ioh, diff --git a/opencl/test/unit_test/kernel/kernel_slm_tests.cpp b/opencl/test/unit_test/kernel/kernel_slm_tests.cpp index 6051a106ff..6e67525a6e 100644 --- a/opencl/test/unit_test/kernel/kernel_slm_tests.cpp +++ b/opencl/test/unit_test/kernel/kernel_slm_tests.cpp @@ -148,8 +148,9 @@ INSTANTIATE_TEST_SUITE_P( testing::ValuesIn(slmSizeInKb)); HWTEST_F(KernelSLMAndBarrierTest, GivenInterfaceDescriptorProgrammedWhenOverrideSlmAllocationSizeIsSetThenSlmSizeIsOverwritten) { - using INTERFACE_DESCRIPTOR_DATA = typename FamilyType::INTERFACE_DESCRIPTOR_DATA; + using DefaultWalkerType = typename FamilyType::DefaultWalkerType; + using InterfaceDescriptorType = typename DefaultWalkerType::InterfaceDescriptorType; DefaultWalkerType walkerCmd{}; uint32_t expectedSlmSize = 5; @@ -166,9 +167,9 @@ HWTEST_F(KernelSLMAndBarrierTest, GivenInterfaceDescriptorProgrammedWhenOverride const uint32_t threadGroupCount = 1u; uint64_t interfaceDescriptorOffset = indirectHeap.getUsed(); - INTERFACE_DESCRIPTOR_DATA interfaceDescriptorData; + InterfaceDescriptorType interfaceDescriptorData; - HardwareCommandsHelper::template sendInterfaceDescriptorData( + HardwareCommandsHelper::template sendInterfaceDescriptorData( indirectHeap, interfaceDescriptorOffset, 0,