mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
ULT renaming: Encoder tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a2da0d5e70
commit
9df53109b9
@@ -16,7 +16,7 @@ using namespace NEO;
|
||||
|
||||
using EncodeMathMMIOTest = testing::Test;
|
||||
|
||||
HWTEST_F(EncodeMathMMIOTest, encodeAluAddHasCorrectOpcodesOperands) {
|
||||
HWTEST_F(EncodeMathMMIOTest, WhenEncodingAluThenCorrectOpcodesOperandsAdded) {
|
||||
using MI_MATH_ALU_INST_INLINE = typename FamilyType::MI_MATH_ALU_INST_INLINE;
|
||||
|
||||
MI_MATH_ALU_INST_INLINE aluParam[5];
|
||||
@@ -57,7 +57,7 @@ HWTEST_F(EncodeMathMMIOTest, encodeAluAddHasCorrectOpcodesOperands) {
|
||||
EXPECT_EQ(aluParam[4].DW0.Value, 0u);
|
||||
}
|
||||
|
||||
HWTEST_F(EncodeMathMMIOTest, encodeAluSubStoreCarryHasCorrectOpcodesOperands) {
|
||||
HWTEST_F(EncodeMathMMIOTest, WhenEncodingAluSubStoreCarryThenCorrectOpcodesOperandsAdded) {
|
||||
using MI_MATH_ALU_INST_INLINE = typename FamilyType::MI_MATH_ALU_INST_INLINE;
|
||||
|
||||
MI_MATH_ALU_INST_INLINE aluParam[5];
|
||||
@@ -142,7 +142,7 @@ HWTEST_F(EncodeMathMMIOTest, givenAluRegistersWhenEncodeAluAndIsCalledThenAluPar
|
||||
|
||||
using CommandEncoderMathTest = Test<DeviceFixture>;
|
||||
|
||||
HWTEST_F(CommandEncoderMathTest, commandReserve) {
|
||||
HWTEST_F(CommandEncoderMathTest, WhenReservingCommandThenBitfieldSetCorrectly) {
|
||||
using MI_MATH = typename FamilyType::MI_MATH;
|
||||
GenCmdList commands;
|
||||
CommandContainer cmdContainer;
|
||||
@@ -217,7 +217,7 @@ HWTEST_F(CommandEncoderMathTest, givenOffsetAndValueWhenEncodeBitwiseAndValIsCal
|
||||
EXPECT_EQ(cmdMem->getMemoryAddress(), dstAddress);
|
||||
}
|
||||
|
||||
HWTEST_F(CommandEncoderMathTest, setGroupSizeIndirect) {
|
||||
HWTEST_F(CommandEncoderMathTest, WhenSettingGroupSizeIndirectThenCommandsAreCorrect) {
|
||||
using MI_MATH = typename FamilyType::MI_MATH;
|
||||
using MI_MATH_ALU_INST_INLINE = typename FamilyType::MI_MATH_ALU_INST_INLINE;
|
||||
using MI_STORE_REGISTER_MEM = typename FamilyType::MI_STORE_REGISTER_MEM;
|
||||
@@ -243,7 +243,7 @@ HWTEST_F(CommandEncoderMathTest, setGroupSizeIndirect) {
|
||||
ASSERT_NE(itor, commands.end());
|
||||
}
|
||||
|
||||
HWTEST_F(CommandEncoderMathTest, setGroupCountIndirect) {
|
||||
HWTEST_F(CommandEncoderMathTest, WhenSettingGroupCountIndirectThenCommandsAreCorrect) {
|
||||
using MI_MATH = typename FamilyType::MI_MATH;
|
||||
using MI_MATH_ALU_INST_INLINE = typename FamilyType::MI_MATH_ALU_INST_INLINE;
|
||||
using MI_STORE_REGISTER_MEM = typename FamilyType::MI_STORE_REGISTER_MEM;
|
||||
|
||||
@@ -13,7 +13,7 @@ using namespace NEO;
|
||||
|
||||
using CommandEncodeStatesTest = Test<CommandEncodeStatesFixture>;
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, CommandEncodeStatesTest, ecodeMediaInterfaceDescriptor) {
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, CommandEncodeStatesTest, WhenProgrammingThenMediaInterfaceDescriptorLoadIsUsed) {
|
||||
using MEDIA_STATE_FLUSH = typename FamilyType::MEDIA_STATE_FLUSH;
|
||||
using MEDIA_INTERFACE_DESCRIPTOR_LOAD = typename FamilyType::MEDIA_INTERFACE_DESCRIPTOR_LOAD;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using namespace NEO;
|
||||
|
||||
using CommandEncodeSemaphore = Test<CommandEncodeStatesFixture>;
|
||||
|
||||
HWTEST_F(CommandEncodeSemaphore, programMiSemaphoreWait) {
|
||||
HWTEST_F(CommandEncodeSemaphore, WhenProgrammingThenMiSemaphoreWaitIsUsed) {
|
||||
using MI_SEMAPHORE_WAIT = typename FamilyType::MI_SEMAPHORE_WAIT;
|
||||
MI_SEMAPHORE_WAIT miSemaphore;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class CommandSetMMIOFixture : public DeviceFixture {
|
||||
|
||||
using CommandSetMMIOTest = Test<CommandSetMMIOFixture>;
|
||||
|
||||
HWTEST_F(CommandSetMMIOTest, appendsAMI_LOAD_REGISTER_IMM) {
|
||||
HWTEST_F(CommandSetMMIOTest, WhenProgrammingThenLoadRegisterImmIsUsed) {
|
||||
EncodeSetMMIO<FamilyType>::encodeIMM(*cmdContainer.get(), 0x2000, 0xbaa, false);
|
||||
|
||||
GenCmdList commands;
|
||||
@@ -45,7 +45,7 @@ HWTEST_F(CommandSetMMIOTest, appendsAMI_LOAD_REGISTER_IMM) {
|
||||
}
|
||||
}
|
||||
|
||||
HWTEST_F(CommandSetMMIOTest, appendsAMI_LOAD_REGISTER_MEM) {
|
||||
HWTEST_F(CommandSetMMIOTest, WhenProgrammingThenLoadRegisterMemIsUsed) {
|
||||
EncodeSetMMIO<FamilyType>::encodeMEM(*cmdContainer.get(), 0x2000, 0xDEADBEEFCAF0);
|
||||
|
||||
GenCmdList commands;
|
||||
@@ -61,7 +61,7 @@ HWTEST_F(CommandSetMMIOTest, appendsAMI_LOAD_REGISTER_MEM) {
|
||||
}
|
||||
}
|
||||
|
||||
HWTEST_F(CommandSetMMIOTest, appendsAMI_LOAD_REGISTER_REG) {
|
||||
HWTEST_F(CommandSetMMIOTest, WhenProgrammingThenLoadRegisterRegIsUsed) {
|
||||
EncodeSetMMIO<FamilyType>::encodeREG(*cmdContainer.get(), 0x2000, 0x2000);
|
||||
|
||||
GenCmdList commands;
|
||||
|
||||
Reference in New Issue
Block a user