Skip to content

[Feature Request] [Pass] DMA-aware MultiVersionBuffer #34

@firefrogliu666

Description

@firefrogliu666

Required prerequisites

  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)

Motivation

The SUNMMIO ZPU has an explicit DMA engine and a single control stream (No thread/warp schedualing). It depends on the compiler-generated pipeline to overlap DMA operations and compute rather than implicit warp scheduling.

As for the MultiVersionBuffer pass, we need to remove Thread/Warp Logic from MultiVersionBuffer. The MultiVersionBuffer pass itself has minimal thread-specific code, but we need to ensure:

  • The buffer versioning logic in MultiVersionBufferRewriter works without thread assumptions
  • The producer/consumer role detection is still valid for our NPU's DMA operations

Solution

No response

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions