Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/arm/executor_runner/Corstone-300.ld
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ SECTIONS
.ddr.bss (NOLOAD) :
{
. = ALIGN(16);
*(input_file_allocator_sec)
*(method_allocator_sec)
*(.bss.input_file_allocator_sec)
*(.bss.method_allocator_sec)
#if (ETHOSU_ARENA == 1)
. = ALIGN(32);
*(.bss.tensor_arena)
Expand Down
2 changes: 2 additions & 0 deletions examples/arm/executor_runner/Corstone-320.ld
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ SECTIONS
.ddr.bss (NOLOAD) :
{
. = ALIGN(16);
*(.bss.input_file_allocator_sec)
*(.bss.method_allocator_sec)
*(input_file_allocator_sec)
*(method_allocator_sec)
#if (ETHOSU_ARENA == 1)
Expand Down
4 changes: 2 additions & 2 deletions examples/arm/executor_runner/arm_executor_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ using printf_size_t = unsigned long;
const size_t input_file_allocation_pool_size =
ET_ARM_BAREMETAL_SEMIHOSTING_FILE_ALLOCATOR_POOL_SIZE;
unsigned char __attribute__((
section("input_file_allocator_sec"),
section(".bss.input_file_allocator_sec"),
aligned(16))) input_file_allocation_pool[input_file_allocation_pool_size];
#endif

Expand Down Expand Up @@ -232,7 +232,7 @@ using torch::executor::etdump_result;
const size_t method_allocation_pool_size =
ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE;
unsigned char __attribute__((
section("method_allocator_sec"),
section(".bss.method_allocator_sec"),
aligned(16))) method_allocation_pool[method_allocation_pool_size];

#if defined(ET_BUNDLE_IO)
Expand Down
Loading