mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix(l0debug): windows topology map should always be created
Topology map was only being created when ZET_ENABLE_PROGAM_DEBUGGING was set. This was not correct. Now it is unconditionally created at init, and debug attach will fail if it is not valid. Related-to: LOCI-3937 Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f1c64adb3c
commit
0f6140deb0
@@ -140,11 +140,7 @@ bool Wddm::init() {
|
||||
gmmMemory.reset(GmmMemory::create(rootDeviceEnvironment.getGmmClientContext()));
|
||||
}
|
||||
|
||||
if (rootDeviceEnvironment.executionEnvironment.isDebuggingEnabled()) {
|
||||
if (!buildTopologyMapping()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
buildTopologyMapping();
|
||||
|
||||
return configureDeviceAddressSpace();
|
||||
}
|
||||
@@ -160,9 +156,7 @@ void Wddm::setPlatformSupportEvictIfNecessaryFlag(const ProductHelper &productHe
|
||||
}
|
||||
|
||||
bool Wddm::buildTopologyMapping() {
|
||||
auto hwInfo = rootDeviceEnvironment.getHardwareInfo();
|
||||
|
||||
UNRECOVERABLE_IF(hwInfo->gtSystemInfo.MultiTileArchInfo.TileCount > 1);
|
||||
TopologyMapping mapping;
|
||||
if (!translateTopologyInfo(mapping)) {
|
||||
PRINT_DEBUGGER_ERROR_LOG("translateTopologyInfo Failed\n", "");
|
||||
|
||||
Reference in New Issue
Block a user