mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Fix returned local memory size
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
75012f4465
commit
0346a5679f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user