已合并
optimize the performance of aicpu realdiv operator #2208
ZhaiPeiChao创建于 4月13日
optimize the performance of aicpu realdiv operator #2208
已合并
ZhaiPeiChao创建于 4月13日
ZhaiPeiChao
ZhaiPeiChao
4月13日

描述

优化RealDiv AICPU性能算子

优化方案

  1. 完全移除 Eigen broadcast —— 算法精简
  2. stride-based carry-propagation 替代 GetBroadcastXIndex —— 指令级优化
  3. 维度压缩(Dimension Collapsing)—— 循环优化
  4. 内层循环 stride 特化 —— 向量化/缓存优化
  5. 零堆分配 —— 内存优化
  6. IsInputHasZero 优化

关联的Issue

issue #1228

测试

性能最大可达到原有性能的4倍

image.png

文档更新

不涉及

类型标签

  • Bug修复
  • 新特性
  • 性能优化
  • 文档更新
  • 其他,请描述:
likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ZhaiPeiChao 的贡献)
ZhaiPeiChaoZhaiPeiChao
4月13日 创建了 pull request,commit 608e151e
CANN-robot
CANN-robot成员
4月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
math/real_div 周奇龙, FelixTang7 (2/2) 周奇龙, FelixTang7 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

ZhaiPeiChao, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
4月13日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
4月13日 将FelixTang7,zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,jia0liang,songkai111,zhangyuxiang0119,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
4月13日 将FelixTang7,zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,songkai111,zhangyuxiang0119,llimwang,gubaocheng设为审查人
此处折叠了58条消息 查看更多
CANN-robot
CANN-robot成员
4月14日 评论:

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.

likedislike
liu-weiliu-wei成员
4月14日 解决了最后一个问题
CANN-robot
CANN-robot成员
4月14日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 周奇龙, FelixTang7.
Reviewers who wrote a comment of /lgtm are: 周奇龙, FelixTang7.

likedislike
CANN-robotCANN-robot成员
4月14日 关闭了关联的issue
CANN-robotCANN-robot成员
4月14日 合入了pull request