mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: don't use global ProductHelper getter 20/n
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7b7c28cb40
commit
d2628babbc
@@ -215,7 +215,8 @@ ze_result_t LinuxMemoryImp::getHbmBandwidth(uint32_t numHbmModules, zes_mem_band
|
||||
}
|
||||
auto &hwInfo = pDevice->getNEODevice()->getHardwareInfo();
|
||||
auto productFamily = hwInfo.platform.eProductFamily;
|
||||
auto stepping = NEO::ProductHelper::get(productFamily)->getSteppingFromHwRevId(hwInfo);
|
||||
auto &productHelper = pDevice->getNEODevice()->getProductHelper();
|
||||
auto stepping = productHelper.getSteppingFromHwRevId(hwInfo);
|
||||
for (auto hbmModuleIndex = 0u; hbmModuleIndex < numHbmModules; hbmModuleIndex++) {
|
||||
uint32_t counterValue = 0;
|
||||
// To read counters from VFID 0 and HBM module 0, key would be: VF0_HBM0_READ
|
||||
|
||||
Reference in New Issue
Block a user