mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
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:
committed by
Compute-Runtime-Automation
parent
6a8a5bca3b
commit
d433fd585a
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user