fix: update slm size based on gt system info in wddm path

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-10-10 10:11:50 +00:00
committed by Compute-Runtime-Automation
parent 6a8a5bca3b
commit d433fd585a
2 changed files with 4 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ bool Wddm::init() {
hardwareInfo->capabilityTable.instrumentationEnabled =
(hardwareInfo->capabilityTable.instrumentationEnabled && instrumentationEnabled);
if (!hardwareInfo->capabilityTable.slmSize) {
if (gtSystemInfo->SLMSizeInKb > 0) {
hardwareInfo->capabilityTable.slmSize = gtSystemInfo->SLMSizeInKb;
}
rootDeviceEnvironment.initProductHelper();