Skip to content

Docs: add runtime logic, orchestration guides, and roadmap#151

Merged
ChaoWao merged 1 commit into
mainfrom
docs/runtime-guides
Mar 5, 2026
Merged

Docs: add runtime logic, orchestration guides, and roadmap#151
ChaoWao merged 1 commit into
mainfrom
docs/runtime-guides

Conversation

@ChaoWao
Copy link
Copy Markdown
Collaborator

@ChaoWao ChaoWao commented Mar 1, 2026

Summary

Add comprehensive documentation for all three runtimes:

  • INCORE_ORCHESTRATION_GUIDE for each runtime (host_build_graph, aicpu_build_graph, tensormap_and_ringbuffer)
  • RUNTIME_LOGIC explaining execution flow and component interactions
  • ROADMAP for tensormap_and_ringbuffer advanced scheduling features

All documentation placed in src/a2a3/runtime/ to align with PR #182's architecture-specific directory layout.

Testing

  • Documentation only - no tests required

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's documentation by providing comprehensive guides for various runtime orchestration mechanisms. It clarifies the architecture, data structures, and operational flows for different graph building strategies, enabling developers to better understand and implement custom orchestration logic.

Highlights

  • Runtime Logic Documentation: New documentation files were added detailing the runtime logic for host_build_graph, aicpu_build_graph, and tensormap_and_ringbuffer runtimes, covering their overview, core data structures, and execution flows.
  • InCore Orchestration Guides: Dedicated InCore orchestration guides were introduced for host_build_graph and tensormap_and_ringbuffer examples, explaining how to structure orchestration code, function signatures, argument layouts, and graph building processes.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • examples/host_build_graph/docs/INCORE_ORCHESTRATION_GUIDE.md
    • Added a new guide for InCore orchestration specific to host_build_graph.
  • examples/tensormap_and_ringbuffer/docs/INCORE_ORCHESTRATION_GUIDE.md
    • Added a new guide for InCore orchestration specific to tensormap_and_ringbuffer.
  • src/runtime/aicpu_build_graph/docs/RUNTIME_LOGIC.md
    • Added new documentation detailing the runtime logic for aicpu_build_graph.
  • src/runtime/host_build_graph/docs/RUNTIME_LOGIC.md
    • Added new documentation detailing the runtime logic for host_build_graph.
  • src/runtime/tensormap_and_ringbuffer/docs/RUNTIME_LOGIC.md
    • Added new documentation detailing the runtime logic for tensormap_and_ringbuffer.
Activity
  • The pull request author, ChaoWao, has indicated that testing was not run as the changes are documentation-only.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces extensive documentation for the runtime and orchestration logic. The new guides for host_build_graph, aicpu_build_graph, and tensormap_and_ringbuffer are well-written, providing clear explanations of their architecture, data flows, and key components. This will be very helpful for developers working with these runtimes. I have one minor suggestion to improve clarity in one of the documents.

Comment thread examples/host_build_graph/docs/INCORE_ORCHESTRATION_GUIDE.md Outdated
@ChaoWao ChaoWao force-pushed the docs/runtime-guides branch from d9f0662 to 275a494 Compare March 2, 2026 01:38
Comment thread .claude/skills/github-pr/SKILL.md
Comment thread src/a2a3/runtime/tensormap_and_ringbuffer/docs/ROADMAP.md
Copy link
Copy Markdown
Collaborator Author

@ChaoWao ChaoWao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing aicpu_build_graph INCORE_ORCHESTRATION_GUIDE.

@ChaoWao
Copy link
Copy Markdown
Collaborator Author

ChaoWao commented Mar 4, 2026

Added missing aicpu_build_graph INCORE_ORCHESTRATION_GUIDE.md in src/runtime/aicpu_build_graph/docs/. Please re-review. (commit e15940e)

Comment thread src/runtime/aicpu_build_graph/docs/INCORE_ORCHESTRATION_GUIDE.md Outdated
ChaoWao added a commit that referenced this pull request Mar 4, 2026
…rite in English

Address PR #151 review comment: the INCORE_ORCHESTRATION_GUIDE.md for
aicpu_build_graph was placed under src/runtime/ instead of examples/
(inconsistent with host_build_graph and tensormap_and_ringbuffer guides).
Move to examples/aicpu_build_graph/docs/ and rewrite as a practical
English-language guide documenting the AicpuBuildApi, function signature,
argument layout, and graph-building workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown

Thank you for the detailed status update, @ChaoWao! I appreciate you addressing all the review comments, including the suggestion regarding "tensor argument order" in the host_build_graph guide and correctly placing the aicpu_build_graph INCORE_ORCHESTRATION_GUIDE.md.

The pull request looks good to merge. Great work on enhancing the documentation!

Copy link
Copy Markdown
Collaborator Author

@ChaoWao ChaoWao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shall rebase origin/main and try update the doc according to newest code status.

Comment thread .github/workflows/ci.yml Outdated
ChaoWao added a commit that referenced this pull request Mar 5, 2026
…rite in English

Address PR #151 review comment: the INCORE_ORCHESTRATION_GUIDE.md for
aicpu_build_graph was placed under src/runtime/ instead of examples/
(inconsistent with host_build_graph and tensormap_and_ringbuffer guides).
Move to examples/aicpu_build_graph/docs/ and rewrite as a practical
English-language guide documenting the AicpuBuildApi, function signature,
argument layout, and graph-building workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ChaoWao ChaoWao force-pushed the docs/runtime-guides branch from 753dde0 to 4de4bdf Compare March 5, 2026 11:50
ChaoWao added a commit that referenced this pull request Mar 5, 2026
…rite in English

Address PR #151 review comment: the INCORE_ORCHESTRATION_GUIDE.md for
aicpu_build_graph was placed under src/runtime/ instead of examples/
(inconsistent with host_build_graph and tensormap_and_ringbuffer guides).
Move to examples/aicpu_build_graph/docs/ and rewrite as a practical
English-language guide documenting the AicpuBuildApi, function signature,
argument layout, and graph-building workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ChaoWao ChaoWao force-pushed the docs/runtime-guides branch 3 times, most recently from c99c6a3 to 0717928 Compare March 5, 2026 12:16
Comment thread src/runtime/tensormap_and_ringbuffer/docs/RUNTIME_LOGIC.md
@ChaoWao ChaoWao force-pushed the docs/runtime-guides branch from 4fe67f5 to 0597757 Compare March 5, 2026 13:21
Add comprehensive documentation for all three runtimes:
- INCORE_ORCHESTRATION_GUIDE for each runtime (host_build_graph, aicpu_build_graph, tensormap_and_ringbuffer)
- RUNTIME_LOGIC explaining execution flow and component interactions
- ROADMAP for tensormap_and_ringbuffer advanced scheduling features

All documentation placed in src/a2a3/runtime/ to align with PR #182's
architecture-specific directory layout.
@ChaoWao ChaoWao force-pushed the docs/runtime-guides branch from 0597757 to dc52c56 Compare March 5, 2026 13:33
@ChaoWao ChaoWao changed the title Add runtime and orchestration docs Docs: add runtime logic, orchestration guides, and roadmap Mar 5, 2026
@ChaoWao ChaoWao merged commit 2e203bc into main Mar 5, 2026
3 checks passed
@ChaoWao ChaoWao deleted the docs/runtime-guides branch March 5, 2026 13:41
PKUZHOU pushed a commit to PKUZHOU/simpler that referenced this pull request Mar 31, 2026
…-sys#151)

Add comprehensive documentation for all three runtimes:
- INCORE_ORCHESTRATION_GUIDE for each runtime (host_build_graph, aicpu_build_graph, tensormap_and_ringbuffer)
- RUNTIME_LOGIC explaining execution flow and component interactions
- ROADMAP for tensormap_and_ringbuffer advanced scheduling features

All documentation placed in src/a2a3/runtime/ to align with PR hw-native-sys#182's
architecture-specific directory layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant