From ba2c7fcccf37e8c81946f0776714c64f73191787 Mon Sep 17 00:00:00 2001 From: Ruomei Yan Date: Mon, 4 Jul 2022 11:46:46 +0100 Subject: 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 --- src/mlia/resources/vela/vela.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mlia/resources') 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 -- cgit v1.2.1