@@ -89,30 +89,6 @@ XE_HPG_CORETEST_F(LriHelperTestsXeHpgCore, whenProgrammingLriCommandThenExpectMm
8989 EXPECT_TRUE (memcmp (lri, &expectedLri, sizeof (MI_LOAD_REGISTER_IMM)) == 0 );
9090}
9191
92- XE_HPG_CORETEST_F (HwHelperTestXeHpgCore, givenAllocDataWhenSetExtraAllocationDataThenSetLocalMemForProperTypes) {
93- auto &hwHelper = HwHelper::get (renderCoreFamily);
94-
95- for (int type = 0 ; type < static_cast <int >(AllocationType::COUNT); type++) {
96- AllocationProperties allocProperties (0 , 1 , static_cast <AllocationType>(type), {});
97- AllocationData allocData{};
98- allocData.flags .useSystemMemory = true ;
99- allocData.flags .requiresCpuAccess = false ;
100-
101- hwHelper.setExtraAllocationData (allocData, allocProperties, *defaultHwInfo);
102-
103- if (defaultHwInfo->featureTable .flags .ftrLocalMemory &&
104- (allocProperties.allocationType == AllocationType::COMMAND_BUFFER ||
105- allocProperties.allocationType == AllocationType::RING_BUFFER ||
106- allocProperties.allocationType == AllocationType::SEMAPHORE_BUFFER)) {
107- EXPECT_FALSE (allocData.flags .useSystemMemory );
108- EXPECT_TRUE (allocData.flags .requiresCpuAccess );
109- } else {
110- EXPECT_TRUE (allocData.flags .useSystemMemory );
111- EXPECT_FALSE (allocData.flags .requiresCpuAccess );
112- }
113- }
114- }
115-
11692XE_HPG_CORETEST_F (HwHelperTestXeHpgCore, GivenVariousValuesWhenAlignSlmSizeIsCalledThenCorrectValueIsReturned) {
11793 EXPECT_EQ (0u , HwHelperHw<FamilyType>::get ().alignSlmSize (0 ));
11894 EXPECT_EQ (1024u , HwHelperHw<FamilyType>::get ().alignSlmSize (1 ));
0 commit comments