mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Dynamic query of EUCount and SubSliceCount.
Related-To: NEO-3841 Change-Id: I7b92314bb8465233909fd1dddeef4ae1469008c9 Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
bccfa1df38
commit
6584f58902
@@ -167,7 +167,10 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
}
|
||||
if (device) {
|
||||
platformDevices[0] = device->pHwInfo;
|
||||
device->setupHardwareInfo(const_cast<HardwareInfo *>(platformDevices[0]), true);
|
||||
ret = drmObject->setupHardwareInfo(const_cast<DeviceDescriptor *>(device), true);
|
||||
if (ret != 0) {
|
||||
return nullptr;
|
||||
}
|
||||
drmObject->setGtType(eGtType);
|
||||
} else {
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr,
|
||||
|
||||
Reference in New Issue
Block a user