Remove dynamic allocation from Ethos-U backend (#22531) - #22531
Open
peygar wants to merge 1 commit into
Open
Conversation
meta-codesync
Bot
force-pushed
the
export-D117747705
branch
from
September 3, 2026 21:07
8f7387b to
36cc73c
Compare
|
|
Summary:
When running ET in embedded Cortex-M we should not dynamically allocate. This
newcall added to support Cortex-A is breaking that contract.Instead, allocate ExecutionHandle on the runtime allocator and delegate the platform_state allocation/destruction to the platform. EthosUBackend_Cortex_M does not create a PlatformState so we can safely remove the delete call from platform_destory
Reviewed By: rascani
Differential Revision: D117747705