Rename setupGtSystemInfo to setupHardwareInfo

- adding new parameter for FeatureTable setup

Change-Id: I1f1c66894555003612e08127801c6b096b0a2400
This commit is contained in:
Hoppe, Mateusz
2018-08-27 12:11:07 +02:00
committed by sys_ocldev
parent ad9710bec2
commit 31d3cc847c
40 changed files with 273 additions and 233 deletions

View File

@ -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;
}