mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Fix reservation size
Change-Id: I1cc3d4405b00365908c5915c9d2a1c512d572530
This commit is contained in:
committed by
sys_ocldev
parent
a9d0ead3c5
commit
960860e4cb
@@ -929,5 +929,13 @@ HWTEST2_F(CommandListCreate, givenCopyCommandListWhenTimestampPassedToMemoryCopy
|
||||
EXPECT_EQ(cmdList.end(), itor);
|
||||
}
|
||||
|
||||
using SupportedPlatforms = IsWithinProducts<IGFX_SKYLAKE, IGFX_DG1>;
|
||||
HWTEST2_F(CommandListCreate, givenCommandList, SupportedPlatforms) {
|
||||
MockCommandListHw<gfxCoreFamily> commandList;
|
||||
commandList.initialize(device, NEO::EngineGroupType::Compute);
|
||||
auto &helper = NEO::HwHelper::get(commandList.device->getHwInfo().platform.eRenderCoreFamily);
|
||||
auto size = helper.getRenderSurfaceStateSize();
|
||||
EXPECT_EQ(commandList.getReserveSshSize(), size);
|
||||
}
|
||||
} // namespace ult
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user