mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
refactor: command container tests
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5052d4ac4b
commit
02e2a13c84
@@ -1335,7 +1335,10 @@ HWTEST2_F(CommandListCreate, givenStateBaseAddressTrackingStateWhenCommandListCr
|
||||
|
||||
auto &commandContainer = commandList->getCmdContainer();
|
||||
auto sshSize = commandContainer.getIndirectHeap(NEO::IndirectHeapType::surfaceState)->getMaxAvailableSpace();
|
||||
EXPECT_EQ(NEO::HeapSize::defaultHeapSize, sshSize);
|
||||
auto &gfxCoreHelper = device->getGfxCoreHelper();
|
||||
auto &productHelper = device->getProductHelper();
|
||||
auto expectedSshSize = gfxCoreHelper.getDefaultSshSize(productHelper);
|
||||
EXPECT_EQ(expectedSshSize, sshSize);
|
||||
}
|
||||
{
|
||||
debugManager.flags.EnableStateBaseAddressTracking.set(1);
|
||||
|
||||
Reference in New Issue
Block a user