mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add debug flag for EOT WA
EOT WA requires allocating last 64KB of kernel heap and putting EOT signature at the last 16 bytes of kernel heap Related-To: NEO-7099 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9a667308b9
commit
cf3817e058
@@ -98,6 +98,18 @@ HWTEST_F(CommandStreamReceiverTest, WhenCreatingCsrThenTimestampTypeIs32b) {
|
||||
EXPECT_EQ(expectedOffset, tag->getGlobalStartOffset());
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverTest, whenAddingAdditionalAllocationForResidencyThenItIsRegisteredInCsr) {
|
||||
auto &csr = pDevice->getUltCommandStreamReceiver<FamilyType>();
|
||||
|
||||
EXPECT_TRUE(csr.additionalAllocationsForResidency.empty());
|
||||
|
||||
MockGraphicsAllocation allocation{};
|
||||
csr.addAdditionalAllocationForResidency(&allocation);
|
||||
|
||||
EXPECT_EQ(1u, csr.additionalAllocationsForResidency.size());
|
||||
EXPECT_EQ(&allocation, csr.additionalAllocationsForResidency[0]);
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverTest, WhenCreatingCsrThenFlagsAreSetCorrectly) {
|
||||
auto &csr = pDevice->getUltCommandStreamReceiver<FamilyType>();
|
||||
csr.initProgrammingFlags();
|
||||
@@ -2074,4 +2086,4 @@ HWTEST_F(CommandStreamReceiverTest, givenMultipleActivePartitionsWhenWaitLogIsEn
|
||||
<< " " << tagValue << std::endl;
|
||||
|
||||
EXPECT_STREQ(expectedOutput.str().c_str(), output.c_str());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user