mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Set FeatureTable and WorkaroundTable in setupHardwareInfo
Related-To: NEO-2755 Change-Id: I61ba85909574780464690c70b194b3d3597af43e Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8e351a43c1
commit
c5274c5087
@@ -155,8 +155,7 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
}
|
||||
if (device) {
|
||||
platformDevices[0] = device->pHwInfo;
|
||||
device->setupHardwareInfo(const_cast<GT_SYSTEM_INFO *>(platformDevices[0]->pSysInfo),
|
||||
const_cast<FeatureTable *>(platformDevices[0]->pSkuTable), true);
|
||||
device->setupHardwareInfo(const_cast<HardwareInfo *>(platformDevices[0]), true);
|
||||
drmObject->setGtType(eGtType);
|
||||
} else {
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr,
|
||||
|
||||
Reference in New Issue
Block a user