Skip to content

Commit 417932d

Browse files
test: when heapless is enabled then 3dstate is programmed during prolog
Related-to: NEO-12737 Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
1 parent 021723e commit 417932d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_xehp_and_later.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,6 +1719,9 @@ void find3dBtdCommand(LinearStream &cmdStream, size_t offset, size_t size, uint6
17191719
HWTEST2_F(RayTracingCmdListTest,
17201720
givenRayTracingKernelWhenRegularCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
17211721
RayTracingMatcher) {
1722+
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
1723+
GTEST_SKIP();
1724+
}
17221725

17231726
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
17241727
ultCsr->storeMakeResidentAllocations = true;
@@ -1789,6 +1792,10 @@ HWTEST2_F(RayTracingCmdListTest,
17891792
HWTEST2_F(RayTracingCmdListTest,
17901793
givenRayTracingKernelWhenRegularCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
17911794
RayTracingMatcher) {
1795+
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
1796+
GTEST_SKIP();
1797+
}
1798+
17921799
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
17931800
ultCsr->storeMakeResidentAllocations = true;
17941801

@@ -1843,6 +1850,10 @@ HWTEST2_F(RayTracingCmdListTest,
18431850
HWTEST2_F(RayTracingCmdListTest,
18441851
givenRayTracingKernelWhenImmediateCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
18451852
RayTracingMatcher) {
1853+
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
1854+
GTEST_SKIP();
1855+
}
1856+
18461857
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
18471858
ultCsr->storeMakeResidentAllocations = true;
18481859

@@ -1901,6 +1912,10 @@ HWTEST2_F(RayTracingCmdListTest,
19011912
HWTEST2_F(RayTracingCmdListTest,
19021913
givenRayTracingKernelWhenImmediateCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
19031914
RayTracingMatcher) {
1915+
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
1916+
GTEST_SKIP();
1917+
}
1918+
19041919
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
19051920
ultCsr->storeMakeResidentAllocations = true;
19061921

0 commit comments

Comments
 (0)