mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
fix: correct calculating highest enabled dual subslice
when no DSS is exposed then calculate highest enabled subslice instead Related-To: NEO-9614 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9c7578f5f4
commit
028a5ee2fc
@@ -267,9 +267,6 @@ bool Wddm::queryAdapterInfo() {
|
||||
if (status == STATUS_SUCCESS) {
|
||||
memcpy_s(gtSystemInfo.get(), sizeof(GT_SYSTEM_INFO), &adapterInfo.SystemInfo, sizeof(GT_SYSTEM_INFO));
|
||||
memcpy_s(gfxPlatform.get(), sizeof(PLATFORM_KMD), &adapterInfo.GfxPlatform, sizeof(PLATFORM_KMD));
|
||||
if (gtSystemInfo->MaxDualSubSlicesSupported == 0) {
|
||||
gtSystemInfo->MaxDualSubSlicesSupported = gtSystemInfo->MaxSubSlicesSupported / 2;
|
||||
}
|
||||
|
||||
if (debugManager.flags.ForceDeviceId.get() != "unk") {
|
||||
gfxPlatform->usDeviceID = static_cast<unsigned short>(std::stoi(debugManager.flags.ForceDeviceId.get(), nullptr, 16));
|
||||
|
||||
Reference in New Issue
Block a user