mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Remove HardwareCapabilities struct
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
ec1e39bab8
commit
5856c283c5
@ -34,17 +34,6 @@ GEN8TEST_F(HwHelperTestGen8, WhenAdjustingDefaultEngineTypeThenEngineTypeIsSet)
|
||||
EXPECT_EQ(engineType, hardwareInfo.capabilityTable.defaultEngineType);
|
||||
}
|
||||
|
||||
GEN8TEST_F(HwHelperTestGen8, givenGen8PlatformWhenSetupHardwareCapabilitiesIsCalledThenSpecificImplementationIsUsed) {
|
||||
auto &helper = HwHelper::get(renderCoreFamily);
|
||||
HardwareCapabilities hwCaps = {0};
|
||||
helper.setupHardwareCapabilities(&hwCaps, hardwareInfo);
|
||||
|
||||
EXPECT_EQ(2048u, hwCaps.image3DMaxHeight);
|
||||
EXPECT_EQ(2048u, hwCaps.image3DMaxWidth);
|
||||
EXPECT_EQ(2 * MemoryConstants::gigaByte - 8 * MemoryConstants::megaByte, hwCaps.maxMemAllocSize);
|
||||
EXPECT_FALSE(hwCaps.isStatelesToStatefullWithOffsetSupported);
|
||||
}
|
||||
|
||||
GEN8TEST_F(HwHelperTestGen8, whenGetGpgpuEnginesThenReturnThreeEngines) {
|
||||
whenGetGpgpuEnginesThenReturnTwoRcsEngines<FamilyType>(pDevice->getHardwareInfo());
|
||||
EXPECT_EQ(3u, pDevice->engines.size());
|
||||
|
Reference in New Issue
Block a user