mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
refactor: Passing information about the engine
Extension of the interface with information about the engine type passed to the function Related-To: NEO-10678 Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
31b2dcfe57
commit
ae139aeffd
@@ -183,7 +183,7 @@ HWTEST_F(CommandEncoderMathTest, givenOffsetAndValueWhenEncodeBitwiseAndValIsCal
|
||||
constexpr uint32_t immVal = 0xbaau;
|
||||
constexpr uint64_t dstAddress = 0xDEADCAF0u;
|
||||
void *storeRegMem = nullptr;
|
||||
EncodeMathMMIO<FamilyType>::encodeBitwiseAndVal(cmdContainer, regOffset, immVal, dstAddress, false, &storeRegMem);
|
||||
EncodeMathMMIO<FamilyType>::encodeBitwiseAndVal(cmdContainer, regOffset, immVal, dstAddress, false, &storeRegMem, false);
|
||||
|
||||
CmdParse<FamilyType>::parseCommandBuffer(commands,
|
||||
ptrOffset(cmdContainer.getCommandStream()->getCpuBase(), 0),
|
||||
@@ -296,7 +296,7 @@ HWTEST_F(CommandEncodeAluTests, whenProgrammingIncrementOperationThenUseCorrectA
|
||||
uint8_t buffer[bufferSize] = {};
|
||||
LinearStream cmdStream(buffer, bufferSize);
|
||||
|
||||
EncodeMathMMIO<FamilyType>::encodeIncrement(cmdStream, incRegister);
|
||||
EncodeMathMMIO<FamilyType>::encodeIncrement(cmdStream, incRegister, false);
|
||||
|
||||
EXPECT_EQ(bufferSize, cmdStream.getUsed());
|
||||
|
||||
@@ -343,7 +343,7 @@ HWTEST_F(CommandEncodeAluTests, whenProgrammingDecrementOperationThenUseCorrectA
|
||||
uint8_t buffer[bufferSize] = {};
|
||||
LinearStream cmdStream(buffer, bufferSize);
|
||||
|
||||
EncodeMathMMIO<FamilyType>::encodeDecrement(cmdStream, decRegister);
|
||||
EncodeMathMMIO<FamilyType>::encodeDecrement(cmdStream, decRegister, false);
|
||||
|
||||
EXPECT_EQ(bufferSize, cmdStream.getUsed());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user