mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Rename setupGtSystemInfo to setupHardwareInfo
- adding new parameter for FeatureTable setup Change-Id: I1f1c66894555003612e08127801c6b096b0a2400
This commit is contained in:

committed by
sys_ocldev

parent
ad9710bec2
commit
31d3cc847c
@ -73,7 +73,8 @@ bool getDevicesImpl(HardwareInfo **hwInfo, size_t &numDevicesReturned, Execution
|
||||
auto hwInfoConst = *platformDevices;
|
||||
getHwInfoForPlatformString(productFamily.c_str(), hwInfoConst);
|
||||
*hwInfo = const_cast<HardwareInfo *>(hwInfoConst);
|
||||
hardwareInfoSetupGt[hwInfoConst->pPlatform->eProductFamily](const_cast<GT_SYSTEM_INFO *>(hwInfo[0]->pSysInfo));
|
||||
hardwareInfoSetup[hwInfoConst->pPlatform->eProductFamily](const_cast<GT_SYSTEM_INFO *>(hwInfo[0]->pSysInfo),
|
||||
const_cast<FeatureTable *>(hwInfo[0]->pSkuTable), true);
|
||||
numDevicesReturned = 1;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user