文件最后提交记录最后更新时间
change triton-ascend to fork mode Co-authored-by: zhang-chunli01<zhangchunli19@huawei.com> Co-authored-by: Xuan Peng<pengxuan9@huawei.com> Co-authored-by: luobaiqing<luobaiqing1@huawei.com> Co-authored-by: zhuxuejie<zhuxuejie8@huawei.com> Co-authored-by: candyhong<1102229410@qq.com> Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1000 merge out-of-tree-refactor into main change triton-ascend to fork mode Created-by: zhang-chunli01 Commit-by: candyhong;luobaiqing;zhang-chunli01;zhuxuejie;wutianyao;Xuan Peng Merged-by: ascend-robot Description: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/d78ef132-1952-4d6e-8d0e-420bd62d0332/image.png 'image.png') See merge request: Ascend/triton-ascend!10005 个月前
feat: TTIR Graph Analysis Framework Co-authored-by: Jin Jing<jinjing21@huawei.com> # message auto-generated for no-merge-commit merge: !1498 merge main into main feat: TTIR Graph Analysis Framework Created-by: jjin_750629 Commit-by: JinJing;Jin Jing Merged-by: huchengbei Description: feat: TTIR Graph Analysis Framework 在TA中增加了针对TTIR的图分析框架,主要是构建控制流图(Control Flow Graph)和数据流图(Data Flow Graph),并针对Tensor和Global Memory补充了Memory SSA的数据流,与TTIR中原有的SSA数据流合并为一套数据流引擎。 控制流图以基本块(BasicBlock)为节点、控制流转移为有向边,描述程序的执行顺序。在 MLIR 体系中,每个 FuncOp / tt.func 内部由若干 BasicBlock 构成,BasicBlock 内的操作顺序执行,BasicBlock 末尾为终结符操作(terminator op)决定后继跳转目标。在控制流图上提供深度优先遍历与广度优先遍历(DFS & BFS)。 过程间控制流图(ICFG)在单函数 CFG 基础上,引入跨 FuncOp 的调用边与返回边,构成全程序(全模块)的统一控制流视图。在 Triton 中,一个 module 往往包含多个 tt.func(device kernel + helper function) 别名图描述程序中每个指针/内存引用可能关联的抽象内存对象集合。在 Triton 中,这对应 tt.ptr 可能指向的设备内存块对应的Tensor对象 数据流图提供Value的definion和use关系的快速查询,综合了MemorySSA和SSA两种形式的数据流 See merge request: Ascend/triton-ascend!14981 个月前
[BACKEND] Add -o for triton-llvm-opt (#3572) Add an -o option to allow specifying output file name. This is useful for separating IR output from pass printings which will be added later.2 年前
[NFC] Removing unused MLIR context (#4964) The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [x] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [x] This PR does not need a test because `it simply removes the definition of an unused variable`. - Select one of the following. - [x] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.)1 年前
[TESTS] Add triton version of mlir-reduce (#1498) [mlir-reduce](https://mlir.llvm.org/docs/Tools/mlir-reduce/) is a tool to reduce the complexity of bug reproducers written in mlir. Similar to triton-opt, triton needs to have its own version with the dialects registered properly for it to work.3 年前
[TESTS] Add triton version of mlir-reduce (#1498) [mlir-reduce](https://mlir.llvm.org/docs/Tools/mlir-reduce/) is a tool to reduce the complexity of bug reproducers written in mlir. Similar to triton-opt, triton needs to have its own version with the dialects registered properly for it to work.3 年前
[tools/triton-tensor-layout] Allow parsing ttgir files with triton_nvidia_gpu ops (#4686) If you want to dump layouts read from an MLIR file, and that file contains ops like triton_nvidia_gpu.warp_group_dot, this tool needs to know about the triton_nvidia_gpu dialect, or else it will throw an error about not finding the dialect1 年前