fix: split chunking prefetch flags

Related-To: NEO-9120

Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski
2023-10-16 04:36:51 +00:00
committed by Compute-Runtime-Automation
parent f9997f58ca
commit f156a74f54
9 changed files with 16 additions and 7 deletions

View File

@@ -804,7 +804,7 @@ void SVMAllocsManager::prefetchMemory(Device &device, CommandStreamReceiver &com
// and if KMD migration is set, as current target is to use
// chunking only with KMD migration
bool isChunkingNeededForDeviceAllocations = false;
if (NEO::DebugManager.flags.EnableBOChunkingPrefetch.get() &&
if (NEO::DebugManager.flags.EnableBOChunkingDevMemPrefetch.get() &&
memoryManager->isKmdMigrationAvailable(device.getRootDeviceIndex()) &&
(svmData.memoryType == InternalMemoryType::DEVICE_UNIFIED_MEMORY)) {
isChunkingNeededForDeviceAllocations = true;