已合并
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
已合并
sinceseto创建于 2月13日
sinceseto
2月13日

描述

为了基于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特性与流程。

原因

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sinceseto 的贡献)
Ssinceseto
2月13日 创建了 pull request,commit b8605ba5
Ssinceseto
2月13日 关联了issue:[Question|问题咨询]: 关于shuffleK问题
CANN-robot
CANN-robot成员
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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
CANN-robotCANN-robot成员
2月13日 添加了label:cann-cla/yes
Ssinceseto
2月26日 取消了草稿状态
此处折叠了76条消息 查看更多
CANN-robotCANN-robot成员
3月24日 添加了label:lgtm
tianxinghui
tianxinghui成员
3月24日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:approved
CANN-robot
CANN-robot成员
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.

likedislike
CANN-robotCANN-robot成员
3月24日 合入了pull request