Add fallback path to query L3 size

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2022-09-02 12:53:34 +00:00
committed by Compute-Runtime-Automation
parent 2d8324c954
commit 3c8c09634f
5 changed files with 70 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ struct SystemInfo {
uint32_t getTotalPsThreads() const { return totalPsThreads; }
uint32_t getMaxRCS() const { return maxRCS; }
uint32_t getMaxCCS() const { return maxCCS; }
uint32_t getL3BankSizeInKb() const { return l3BankSizeInKb; }
void checkSysInfoMismatch(HardwareInfo *hwInfo);
@@ -50,6 +51,7 @@ struct SystemInfo {
uint32_t totalPsThreads = 0;
uint32_t maxRCS = 0;
uint32_t maxCCS = 0;
uint32_t l3BankSizeInKb = 0;
};
} // namespace NEO