已合并
resize_nearest_neighbor_v2 nchw 格式性能优化 #822
chenfeng创建于 5月7日
resize_nearest_neighbor_v2 nchw 格式性能优化 #822
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 chenfeng 的贡献)CANN-robot
5月7日 评论:
5月7日 评论:
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 |
|---|---|---|
| image/resize_nearest_neighbor_v2 | ✅ 刘伟, zhangzijie (2/2) | ✅ 刘伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
chenfeng61, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月7日 添加了label:cann-cla/yes
5月7日 将zhou-qilong,renruhai,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zl_hw,liu-wei,demoauguste,llimwang,gubaocheng设为评审人
5月7日 将zhou-qilong,renruhai,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zl_hw,liu-wei,demoauguste,llimwang,gubaocheng设为评审人
5月7日 将zhou-qilong,renruhai,zhajianqing123,rxtfeng,luowen203_gg123,loov1,liu-wei,demoauguste,llimwang,gubaocheng设为审查人
5月7日 将zhou-qilong,renruhai,zhajianqing123,rxtfeng,luowen203_gg123,loov1,liu-wei,demoauguste,llimwang,gubaocheng设为审查人
此处折叠了121条消息 查看更多
CANN-robot
5月9日 评论:
5月9日 评论:
The MR can not be merged, because of CodeReview discussion not resolved
If you want to solve this problem, you can click here to do it in the FAQs.


5月9日 解决了最后一个问题
CANN-robot
5月9日 评论:
5月9日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: 刘伟.
Reviewers who wrote a comment of /lgtm are: 刘伟, zhangzijie.


5月9日 关闭了关联的issue
5月9日 合入了pull request
描述
为 resize_nearest_neighbor_v2 算子新增 Gather 模版,提升 NCHW 格式场景的计算性能。
改动原因
现有调度策略在部分 NCHW 格式场景下性能不佳,需要新增基于 MicroAPI 的 Gather 调度策略,利用寄存器级操作提升计算效率。
改动方法
新增调度策略 ID:
新增 kernel 实现 (resize_nearest_neighbor_v2_nchw_gather.h):
扩展 Tiling 策略:
注册模版:
涉及文件
关联的Issue
测试
需要验证新增 Gather 调度策略在 NCHW 格式场景下的精度和性能。
文档更新
无
类型标签