mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Move TSP creation to HwHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1414247ed4
commit
a6c6290c09
@@ -73,6 +73,14 @@ TEST_F(HwHelperTest, WhenGettingHelperThenValidHelperReturned) {
|
||||
EXPECT_NE(nullptr, &helper);
|
||||
}
|
||||
|
||||
HWTEST_F(HwHelperTest, givenHwHelperWhenAskingForTimestampPacketAlignmentThenReturnFourCachelines) {
|
||||
auto &helper = HwHelper::get(renderCoreFamily);
|
||||
|
||||
constexpr auto expectedAlignment = MemoryConstants::cacheLineSize * 4;
|
||||
|
||||
EXPECT_EQ(expectedAlignment, helper.getTimestampPacketAllocatorAlignment());
|
||||
}
|
||||
|
||||
HWTEST_F(HwHelperTest, SetRenderSurfaceStateForBufferIsCalledThenSetL1CachePolicyIsCalled) {
|
||||
using RENDER_SURFACE_STATE = typename FamilyType::RENDER_SURFACE_STATE;
|
||||
using SURFACE_TYPE = typename RENDER_SURFACE_STATE::SURFACE_TYPE;
|
||||
|
||||
Reference in New Issue
Block a user