mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Add adjustPlatformCoreFamilyForIgc helper
Change-Id: Ic372e76c1024ca9e585bef15fab29827d33122f3 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4865
This commit is contained in:
@@ -115,8 +115,13 @@ bool ModuleTranslationUnit::createFromNativeBinary(const char *input, size_t inp
|
||||
auto productAbbreviation = NEO::hardwarePrefix[device->getNEODevice()->getHardwareInfo().platform.eProductFamily];
|
||||
|
||||
NEO::TargetDevice targetDevice = {};
|
||||
targetDevice.coreFamily = device->getNEODevice()->getHardwareInfo().platform.eRenderCoreFamily;
|
||||
targetDevice.stepping = device->getNEODevice()->getHardwareInfo().platform.usRevId;
|
||||
|
||||
auto copyHwInfo = device->getNEODevice()->getHardwareInfo();
|
||||
auto &hwHelper = NEO::HwHelper::get(copyHwInfo.platform.eRenderCoreFamily);
|
||||
hwHelper.adjustPlatformCoreFamilyForIgc(copyHwInfo);
|
||||
|
||||
targetDevice.coreFamily = copyHwInfo.platform.eRenderCoreFamily;
|
||||
targetDevice.stepping = copyHwInfo.platform.usRevId;
|
||||
targetDevice.maxPointerSizeInBytes = sizeof(uintptr_t);
|
||||
std::string decodeErrors;
|
||||
std::string decodeWarnings;
|
||||
|
||||
Reference in New Issue
Block a user