mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Adjust PLATFORM values for a given Product Family
Change-Id: I4522df78060861b6f91ac5f125cf6b11023f1509
This commit is contained in:
committed by
sys_ocldev
parent
79a0e3253e
commit
9bc11a7f48
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user