Skip to content

Commit 8526d0a

Browse files
zingofreddan80
authored andcommitted
Arm backend: Set default allocation pool to 20MB
This is making memory fit on more targets. The intention is for this is to be easier to change from the run.sh flow and then this value will probably be bumped back to the bigger value out of the box again to make large model testing more convenient. Signed-off-by: Zingo Andersen <[email protected]> Change-Id: Id0e5f0d453bddc8e8fb0db65a4fd72bc7c1671ea
1 parent e95f171 commit 8526d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/arm/executor_runner/arm_executor_runner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ using executorch::runtime::TensorInfo;
8585
* availible memory.
8686
*/
8787
#ifndef ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE
88-
#define ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE (60 * 1024 * 1024)
88+
#define ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE (20 * 1024 * 1024)
8989
#endif
9090
const size_t method_allocation_pool_size =
9191
ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE;

0 commit comments

Comments
 (0)