ub->gm传递l2_cache_ctl参数#920
Conversation
and0d0
commented
Jul 9, 2026
- 高层 pto.mte_ub_gm 增加了 l2_cache_ctl参数
- 底层 pto.copy_ubuf_to_gm 里原来的 reserved 语义改成 l2_cache_ctl
- 更新相关 VPTO emitter/接口处的字段命名和语义,使它表示 reserved -> L2 cache policy
Codex Review该评论由 review 机器人自动更新。
SummaryReview failed at stage Findings未生成结构化 findings,因为 review 过程提前失败。 Log Tail |
There was a problem hiding this comment.
Code Review
This pull request introduces support for GM store-side L2 cache control in the pto.mte_ub_gm and pto.copy_ubuf_to_gm operations by replacing a previously reserved field with the l2_cache_ctl parameter. The changes include updates to the dialect definition, parser, printer, verifier (ensuring constant values fit in the [0, 15] range), LLVM emitters, and documentation. Existing tests and examples have been updated to include the new parameter, and a new test file has been added to verify its roundtrip and expansion. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.