|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-provided runtime arena for a model's RUNTIME regions. More...
#include <ra8_npu_loader.h>
Data Fields | |
| uint8_t * | base |
| Runtime arena base in NPU-visible SRAM (writable). | |
| uint32_t | bytes |
| Runtime arena capacity in bytes (0 if no runtime rgn). | |
Caller-provided runtime arena for a model's RUNTIME regions.
base is a writable block in NPU-visible system SRAM into which the loader lays out every region the blob marks RUNTIME (scratch / output activations), each 16-byte aligned and in descriptor order. bytes is its capacity; the loader fails with k_ra8_err_no_mem if the runtime regions do not fit. A model with only BAKED regions may pass a zero-size arena (base may then be nullptr).
Definition at line 78 of file ra8_npu_loader.h.
| uint8_t* ra8_npu_arena_t::base |
Runtime arena base in NPU-visible SRAM (writable).
Definition at line 79 of file ra8_npu_loader.h.
| uint32_t ra8_npu_arena_t::bytes |
Runtime arena capacity in bytes (0 if no runtime rgn).
Definition at line 80 of file ra8_npu_loader.h.