Allocate single Isa instance when debugging enabled

- Related-To: NEO-6221

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2021-09-08 07:44:06 +00:00
committed by Compute-Runtime-Automation
parent ae6d58bcb0
commit 8d3438a5fb
2 changed files with 25 additions and 2 deletions

View File

@@ -47,8 +47,7 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
case GraphicsAllocation::AllocationType::DEBUG_MODULE_AREA: {
auto placeIsaOnMultiTile = (properties.subDevicesBitfield.count() != 1);
if (executionEnvironment.isDebuggingEnabled() &&
executionEnvironment.rootDeviceEnvironments[properties.rootDeviceIndex]->debugger.get()) {
if (executionEnvironment.isDebuggingEnabled()) {
placeIsaOnMultiTile = false;
}