mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
fix: setup slm size based on gt system info when not set in capability table
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
09a2b10c48
commit
e39994f525
@@ -930,6 +930,10 @@ void Drm::setupSystemInfo(HardwareInfo *hwInfo, SystemInfo *sysInfo) {
|
||||
gtSysInfo->MaxDualSubSlicesSupported = sysInfo->getMaxDualSubSlicesSupported();
|
||||
gtSysInfo->CsrSizeInMb = sysInfo->getCsrSizeInMb();
|
||||
gtSysInfo->SLMSizeInKb = sysInfo->getSlmSizePerDss();
|
||||
|
||||
if (!hwInfo->capabilityTable.slmSize) {
|
||||
hwInfo->capabilityTable.slmSize = gtSysInfo->SLMSizeInKb;
|
||||
}
|
||||
}
|
||||
|
||||
void Drm::setupCacheInfo(const HardwareInfo &hwInfo) {
|
||||
|
||||
Reference in New Issue
Block a user