已合并
TLA增加originShape,新增TileView、MakeTensorLike、Tensor的operator()和增加strided_batched_matmul_tla样例 #469
sinceseto创建于 2月13日
TLA增加originShape,新增TileView、MakeTensorLike、Tensor的operator()和增加strided_batched_matmul_tla样例 #469
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sinceseto 的贡献)CANN-robot
2月13日 评论:
2月13日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/catlass | ✅ tianxinghui, zjw666888 (2/2) | ✅ tianxinghui (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
sinceseto, thanks for your pull request. All authors of the commits have signed the CLA. 👍


2月13日 添加了label:cann-cla/yes
此处折叠了76条消息 查看更多
3月24日 添加了label:lgtm
tianxinghui
3月24日 评论:
3月24日 评论:
/approve


3月24日 添加了label:approved
CANN-robot
3月24日 评论:
3月24日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: tianxinghui.
Reviewers who wrote a comment of /lgtm are: tianxinghui, zjw666888.


3月24日 合入了pull request
描述
为了基于TLA提供kernel和block层不感知尾块逻辑,tile层感知origin_shape的新流程。
为tla::layout增加originShape,为了不影响当前其它算子原来流程,支持写layout类型中originShape类型自动推导,makeLayout自动推导originShape。
MakeLayoutTile更名GetTileLayout,增加coord参数,根据coord和origin_shape自动裁剪
更新GetTile(如果原来流程不规范写法涉及到coord>shape的GetTile操作会导致origin_shape被裁剪到0,导致tile层不工作,精度错误)
新增TileView(tile粒度的GetTIle)、MakeTensorLike(跨内存域自动origin_shape继承的新建Tensor)、Tensor的operator()接口(slice语义)
以一个strided_batched_matmul_tla样例承载新的TLA特性与流程。
原因
测试
文档更新
类型标签