Fix returned local memory size

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-12-06 11:38:24 +00:00
committed by Compute-Runtime-Automation
parent 75012f4465
commit 0346a5679f
12 changed files with 45 additions and 21 deletions

View File

@@ -42,7 +42,7 @@ uint32_t AubHelper::getMemType(uint32_t addressSpace) {
return mem_types::MEM_TYPE_SYSTEM;
}
uint64_t AubHelper::getMemBankSize(const HardwareInfo *pHwInfo) {
uint64_t AubHelper::getPerTileLocalMemorySize(const HardwareInfo *pHwInfo) {
if (DebugManager.flags.HBMSizePerTileInGigabytes.get() > 0) {
return DebugManager.flags.HBMSizePerTileInGigabytes.get() * MemoryConstants::gigaByte;
}