performance: set tag buffer non-coherent on iGPU

There's no need to snoop cpu cache's for tag buffer.
Tag buffer is mostly read-only on CPU.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-05-21 12:38:14 +00:00
committed by Compute-Runtime-Automation
parent caf1781e73
commit a614c0bb95
2 changed files with 2 additions and 2 deletions

View File

@@ -60,6 +60,8 @@ GMM_RESOURCE_USAGE_TYPE_ENUM CacheSettingsHelper::getDefaultUsageTypeWithCaching
return GMM_RESOURCE_USAGE_OCL_BUFFER_CSR_UC;
} else if (AllocationType::semaphoreBuffer == allocationType) {
return GMM_RESOURCE_USAGE_OCL_SYSTEM_MEMORY_BUFFER;
} else if (AllocationType::tagBuffer == allocationType) {
return GMM_RESOURCE_USAGE_OCL_BUFFER;
}
}