Adjust PLATFORM values for a given Product Family

Change-Id: I4522df78060861b6f91ac5f125cf6b11023f1509
This commit is contained in:
Zdanowicz, Zbigniew
2018-04-04 18:38:36 +02:00
committed by sys_ocldev
parent 79a0e3253e
commit 9bc11a7f48
38 changed files with 365 additions and 8 deletions

View File

@@ -56,6 +56,10 @@ int HwInfoConfigHw<IGFX_UNKNOWN>::configureHardwareCustom(HardwareInfo *hwInfo,
return (pPlatform->usDeviceID == 10) ? -1 : 0;
}
template <>
void HwInfoConfigHw<IGFX_UNKNOWN>::adjustPlatformForProductFamily(HardwareInfo *hwInfo) {
}
} // namespace OCLRT
struct DummyHwConfig : HwInfoConfigHw<IGFX_UNKNOWN> {
@@ -80,6 +84,7 @@ void HwInfoConfigTestLinux::SetUp() {
rt_cpuidex_func = CpuInfo::cpuidexFunc;
CpuInfo::cpuidexFunc = mockCpuidex;
testHwInfo = *pInHwInfo;
}
void HwInfoConfigTestLinux::TearDown() {