Homogeneous Fusion Computing Subsystem for Edge AI Under a Unified Instruction Set

    As edge computing advances through local large language model (LLM) inference and robotics, providing both reliable general computing and high-throughput AI computing under strict power, thermal, and size constraints becomes critical. Traditional heterogeneous architectures often suffer from fragmented programming models and high memory overhead. This article explores a homogeneous fusion computing subsystem design based on a unified RISC-V instruction set architecture (ISA). By integrating a general-purpose CPU cluster with an AI-prioritized cluster under a single operating system, this approach enables unified scheduling, shared memory coherence, and seamless software stack integration, offering a scalable and maintainable solution for edge AI and robotics applications.

    Homogeneous Fusion Computing Subsystem for Edge AI Under a Unified Instruction Set

    As edge computing enters a new phase driven by local LLM inference and robotics, the core challenge in system design is no longer simply increasing raw compute power in a single dimension. Instead, it is about how to simultaneously deliver reliable general computing capacity and high-throughput AI compute capacity on edge hardware constrained by power, thermal, cost, and form factor limitations. Traditional approaches typically attach a discrete accelerator to a general-purpose CPU, coordinating them via device drivers, dedicated runtimes, and explicit data copies. Although these heterogeneous solutions can achieve high peak compute, they introduce issues such as fragmented programming models, memory copy overhead, disjointed scheduling planes, and ecosystem fragmentation. This article explores a “homogeneous fusion” approach, analyzing a computing subsystem design tailored for edge AI: integrating a high-performance general CPU cluster and an AI-prioritized AI-CPU cluster within a unified RISC-V ISA and extension framework, running a single general-purpose operating system (OS) that uses threads or tasks as the basic scheduling unit for unified orchestration and resource governance.

    1. Problem Background and Design Goals

    Edge AI workloads exhibit distinctly mixed characteristics. On one hand, devices must run general-purpose software such as control planes, network protocols, file systems, human-machine interfaces, task orchestration, and fault recovery. These workloads emphasize single-thread performance, memory management determinism, virtualization, and security isolation. On the other hand, local LLM inference, visual perception, speech processing, and robotic planning require extensive matrix and vector operations alongside high-bandwidth data access. If these two types of workloads run on divided hardware and software stacks, system complexity escalates rapidly. Developers must maintain multiple compiler toolchains, memory models, and performance tuning methods, while also handling cross-device synchronization and data migration during deployment.

    Therefore, the design goals of the homogeneous fusion computing subsystem can be summarized in four points. First, unify the ISA and programming model so that general and AI code share the same process, address space, and toolchain foundation. Second, unify scheduling and resource governance, allowing the OS to perform fine-grained placement between the general CPU cluster and the AI-prioritized cluster on a thread or task basis. Third, reduce memory bandwidth pressure and end-to-end latency in LLM inference through hardware-software co-design. Fourth, maintain scalable productization capabilities, ensuring the same architecture covers different compute tiers, power budgets, and robot form factors.

    2. Core Meaning of the Homogeneous Fusion Paradigm

    Homogeneous fusion does not mean a single core handles all tasks. Rather, it refers to setting up compute clusters with different microarchitectural focuses under a unified ISA framework while allowing them to share the system-level software plane. The general CPU cluster focuses on control flow, scalar performance, cache hierarchy, and system management capabilities. The AI-prioritized cluster focuses on matrix/vector operations, low-precision data flows, on-chip data reuse, and high-throughput scheduling. Both run under the same general-purpose OS, sharing the address space and cache coherence mechanism. Applications can utilize AI compute via standard threads, tasks, or operator calls without explicitly managing discrete devices.

    The key benefit of this design is the reduction of “platform fragmentation.” Within a unified address space, AI tasks can directly access model parameters and intermediate tensors, reducing unnecessary copies. A unified scheduler can determine placement strategies based on task type, deadline, QoS level, and thermal power budget. A unified observation plane can simultaneously collect latency, throughput, and resource utilization data for both general and AI tasks. For edge devices, this integrated delivery model is more likely to form a stable, maintainable product form factor than the “general motherboard plus accelerator card” approach.

    3. Engineering Trade-offs for General CPU and AI-Prioritized Clusters

    The design focus of the general CPU cluster is system compatibility and control plane determinism. It requires robust single-thread performance, reasonable out-of-order execution capabilities, a complete cache hierarchy, and a foundation for virtualization and security isolation. It must handle interrupts, device management, and task orchestration. For edge devices, the general cluster must also maintain stable responses under limited power, preventing AI workload spikes from degrading the tail latency of control tasks.

    The AI-prioritized cluster is optimized around tensor and vector computing. Engineering trade-offs include adopting wider matrix/vector execution units, strengthening on-chip cache and data reuse, supporting low-precision quantization formats, optimizing high-concurrency operator scheduling, and exposing AI capabilities through optional extensions in the unified ISA. Because the AI cluster still operates within the unified ISA and process model, the OS can treat it as a schedulable compute resource rather than a peripheral exclusively occupied by a dedicated driver. This preserves the specialized nature of the AI microarchitecture while reducing software stack fragmentation.

    At the system interconnect level, the two clusters must share memory and cache resources through a high-bandwidth, low-latency, coherent interconnect. For LLM inference, KV caches and intermediate activations continuously consume bandwidth. Without coherence support, cross-cluster synchronization introduces additional overhead. Therefore, the homogeneous fusion subsystem must design the coherence protocol, memory controller, cache partitioning, and power management as an integrated whole, rather than an afterthought.

    4. Significance of Enabling RVA23

    As a RISC-V profile for application processors, RVA23 provides a relatively complete baseline capability for the OS, compilers, and application software. Enabling RVA23 means more than just adding a few instructions; it establishes a predictable foundation for binary compatibility and the software ecosystem. For edge AI subsystems, RVA23 helps unify vectorization, virtualization, memory management, and security-related capabilities, allowing the general OS and upper-layer runtimes to optimize based on stable architectural assumptions.

    In practical engineering, the RVA23 baseline can carry general computing, control plane, and system services. The AI-prioritized cluster enhances tensor computing capabilities through matrix/vector extensions within the same ISA framework. The advantage here is that the compiler can perform vectorization, operator fusion, and precision selection under a unified intermediate representation. The runtime can dynamically choose between a general path or an AI acceleration path based on hardware capabilities. The OS can manage both clusters using the same context switching, memory mapping, and permission models. It is important to emphasize that extension capabilities should be exposed through standardized or discoverable methods to prevent applications from being locked into non-portable proprietary interfaces.

    5. Hardware-Software Co-design for LLM Inference

    LLM inference is typically divided into a prefill phase and a decode phase. The prefill phase has high parallelism, making it suitable for high-throughput execution of large matrix multiplications and attention computations. The decode phase generates tokens one by one, making it more sensitive to memory bandwidth and KV cache access, with lower parallelism and higher latency sensitivity. A homogeneous fusion subsystem can place high-throughput tensor operators on the AI-prioritized cluster, while placing sampling, control flow, tool calling, I/O, and some small operators on the general CPU cluster. Unified memory reduces intermediate data migration.

    Hardware-software co-design should cover operator fusion, quantization, memory planning, and scheduling strategies. For example, fusing multiple small operators in attention into a larger kernel reduces round trips between on-chip cache and main memory. Applying block layouts to weights and KV caches improves data reuse in the AI cluster. The runtime selects different parallel strategies based on sequence length, batch size, and power budget. Below is illustrative pseudocode showing unified task description and placement logic:

    1. typedef enum { TASK_CTRL, TASK_TENSOR, TASK_MIXED } task_kind;
    2. typedef struct {
    3. task_kind kind;
    4. void (*fn)(void *);
    5. void *arg;
    6. unsigned deadline_us;
    7. unsigned qos;
    8. } task_desc;
    9. void place_task(task_desc *t) {
    10. if (t->kind == TASK_CTRL && near_deadline(t)) {
    11. enqueue_on_general_cluster(t);
    12. } else if (t->kind == TASK_TENSOR) {
    13. enqueue_on_ai_cluster(t, choose_precision_and_tiling(t));
    14. } else {
    15. split_mixed_task(t, general_part, tensor_part);
    16. }
    17. }

    This pseudocode embodies the basic concept of unified scheduling: tasks are not bound to a discrete device context but are assigned to an execution cluster by the system based on task type, deadline, and precision strategy. For mixed tasks, the control and tensor parts can be split and executed cooperatively, balancing determinism and throughput.

    6. OS Scheduling and Resource Governance

    A unified OS is the software hub of homogeneous fusion. The scheduler must identify general, AI, and mixed tasks, performing placement based on cache affinity, memory bandwidth requirements, deadlines, and thermal power budgets. In scenarios like robotics, control tasks typically have periodic deadlines, while AI perception tasks may prioritize throughput or tail latency. Scheduling strategies should support priority inheritance, time-slice isolation, cache partitioning, and memory bandwidth quotas to prevent AI tasks from monopolizing shared resources and causing control plane jitter.

    Resource governance must also cover power and thermal constraints. Edge devices often use fanless or small fan designs, and sustained high-throughput AI workloads can trigger thermal throttling. The system needs to bring the AI cluster’s parallelism, voltage/frequency, and task batch size into a unified governance loop, adjusting smoothly while meeting QoS. The observation plane should simultaneously record task placement, queue wait times, memory bandwidth, cache hits, operator duration, and power states, providing a basis for end-to-end tuning.

    7. AI Software Stack and Deployment Path

    The AI software stack should be built around a unified runtime, including model import, graph optimization, quantization conversion, operator selection, memory planning, task dispatch, and performance profiling. The compiler must be aware of the RVA23 baseline and AI extension capabilities, performing cost evaluations between general and AI paths. The runtime needs to manage weights, activations, and KV caches in unified memory, supporting isolation under multi-task concurrency. For LLM services, the software stack should also provide general capabilities such as batching, streaming output, priority queues, and timeout control.

    On the deployment path, it is recommended to first describe the AI workload using the unified task model, then determine operator placement through performance profiling. For latency-sensitive robotic control links, resources should be isolated between control tasks and AI inference tasks, with clear deadlines and degradation strategies defined. Continuously calibrating scheduling parameters through a unified observation plane can reduce the gap between “lab performance” and “field performance.”

    8. Edge Robotics and Commercialization Considerations

    In robotics scenarios, the value of a homogeneous fusion subsystem lies in placing perception, planning, control, and interaction within a single computing platform. The general CPU cluster handles real-time control, sensor management, and task orchestration. The AI-prioritized cluster handles vision models, speech models, and local LLM inference. The unified OS handles resource governance and fault isolation. This structure helps reduce the number of boards, simplifies thermal and power supply design, and lowers software maintenance costs.

    From a productization perspective, the architecture must maintain scalability. Different tiers can adjust the scale of general and AI clusters, cache capacity, and interconnect bandwidth. The same software stack can cover different form factors of edge devices. Secure boot, permission isolation, remote updates, and observability should be included as foundational capabilities. Only by forming a stable engineering loop under a unified ISA, unified OS, and unified scheduling plane can homogeneous fusion truly translate into a deployable, maintainable, and scalable edge AI computing platform.