Repository navigation
Optimization document2nd for the first game - #117
Open
FeelTheBeats wants to merge 3 commits into
Open
FeelTheBeats wants to merge 3 commits into
FeelTheBeats wants to merge 3 commits into
Conversation
self-hosted 池没有在线 runner,main 的 16 次 push 运行全部排队到 24 小时 被取消,CI acceptance 从未真正执行过。统一到 ubuntu-24.04 后,PR 与 main 共用同一台机器、同一个 Python 3.12 和同一种取代码方式。 - test/benchmark 的 runs-on 改为 ubuntu-24.04,超时 20/30 分钟改为 45 - 删除两段 /opt/ScratchV 镜像同步(rm -rf 工作区后 cp 镜像) - checkout 与 setup-python 不再按事件分流,push 也走 actions/checkout - 新增 pip 缓存,避免每次运行冷装 torch 等依赖 - 工具链注释改为托管机可 sudo 安装,保留 out-of-band 兜底 验证:tests/test_ci_workflows.py + tests/test_ci_routing.py(161 passed)
🤖 AI Code Review
Full per-file results and batch artifacts Every fetched file has a review response. |
FeelTheBeats
force-pushed
the
bisai_op
branch
3 times, most recently
from
October 25, 2026 05:14
c0b90c0 to
67a0ff5
Compare
DEVELOPMENT.md(+402/-19):补齐学生教程里“离榜首还差多少、差在哪一项” 这一层,并修正与仓库/实测不符的地方: - 0.4 重写“热循环对齐”:实测带 .option norvc 时 .text 里的 .balign 只填 4 字节 nop(14 条且全部执行),不产生 R_RISCV_ALIGN;真判 0 分的是 .skip/.2byte - 4.0 新增地板一节:三题公式 m+(2mr+nr+1)/(mr·nr)、按分块的地板表、 指令比与 miss 占比两个判据;4.5 的旧公式改为指向此处 - 2.0 新增产出路径(R1-R5 + X0)与 -O3 差 1.9~3.7 倍的三条原因 - 5.4 新增 FMA:4×4 下 2.81 -> 1.81 条/MAC,只讲原理不贴代码 (仓库 dtypes.py 仍是 fmul.s + fadd.s) - 6.3 补分块尺寸预算表(4×4 需 25 个寄存器等);地板推导 2.5 -> 2.81, 与内循环 2.94、整题 2.98 对账 - 6.4 补相位模型(解释 d_miss 773 vs 768)与数据段对齐写法 - 6.5 新增 i_miss 一节:合并内核体、冷热分离、行数下界、总账判据 - 8.1 三关改为可执行门禁清单(3 条可粘贴命令);3.5 代码与仓库对齐; 术语表补 FMA/地板/相位/R_RISCV_ALIGN
FeelTheBeats
force-pushed
the
bisai_op
branch
from
October 25, 2026 05:24
67a0ff5 to
b80caf6
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
for both agents and students