aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/resources
diff options
context:
space:
mode:
authorRuomei Yan <ruomei.yan@arm.com>2022-07-04 11:46:46 +0100
committerRuomei Yan <ruomei.yan@arm.com>2022-07-04 11:46:50 +0100
commitba2c7fcccf37e8c81946f0776714c64f73191787 (patch)
treea3c3672642828a48437d45e8c315a28fbae87973 /src/mlia/resources
parent0ee201dfa023a9f42e1c8a282e96c231c6769e07 (diff)
downloadmlia-ba2c7fcccf37e8c81946f0776714c64f73191787.tar.gz
MLIA-316 Specify cache arena size in the Vela memory profiles
When running the e2e test of Wav2Letter, the tensor allocation failed. To resolve this, we changed the arena cache size to 2096768. This is due to the requirement in Vela. We need to make it aware of the memory limitation on the target we are deploying for. Change-Id: I192790033954058fa5db249452d998764df52663
Diffstat (limited to 'src/mlia/resources')
-rw-r--r--src/mlia/resources/vela/vela.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mlia/resources/vela/vela.ini b/src/mlia/resources/vela/vela.ini
index 382820d..29a5179 100644
--- a/src/mlia/resources/vela/vela.ini
+++ b/src/mlia/resources/vela/vela.ini
@@ -58,6 +58,7 @@ Dram_write_latency=250
const_mem_area=Axi0
arena_mem_area=Axi0
cache_mem_area=Axi0
+arena_cache_size=2096768
; Shared SRAM: the SRAM is shared between the Ethos-U and the Cortex-M software
; The non-SRAM memory is assumed to be read-only
@@ -65,6 +66,7 @@ cache_mem_area=Axi0
const_mem_area=Axi1
arena_mem_area=Axi0
cache_mem_area=Axi0
+arena_cache_size=2096768
; Dedicated SRAM: the SRAM (384KB) is only for use by the Ethos-U
; The non-SRAM memory is assumed to be read-writeable