47#error "ra8_npu_loader.h included on a device without an NPU (RA8P1-only)."
Compile-time device selection for the RA8 multi-chip build (RA8D2 / RA8P1).
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Arm Ethos-U55 NPU command/queue driver foundation (RA8P1-only).
ra8_err_t ra8_npu_load(const void *blob, uint32_t blob_bytes, const ra8_npu_arena_t *arena, ra8_npu_job_t *out_job)
Validate a .npub blob and map it into an ra8_npu_job_t.
Caller-provided runtime arena for a model's RUNTIME regions.
uint32_t bytes
Runtime arena capacity in bytes (0 if no runtime rgn).
uint8_t * base
Runtime arena base in NPU-visible SRAM (writable).
One Ethos-U55 inference job: a command stream plus its tensor arenas.