已合并
Square算子AscendC实现贡献 #291
liwen创建于 2025年11月24日
Square算子AscendC实现贡献 #291
已合并
liwen创建于 2025年11月24日
liwen
liwen
2025年11月24日

描述

关联的Issue

测试

测试用例

image.png

测试结果

image.png

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 liwen 的贡献)
liwenliwen
2025年11月24日 关联了issue:[Requirement|需求建议]: Square算子AscendC实现贡献,[Question|问题咨询]: 这个仓库框架下,自定义算子如何实现 多 tiling_key,有例程可以参考吗?
CANN-robot
CANN-robot成员
2025年11月24日 评论:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
CANN-robot
CANN-robot成员
2025年11月24日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-cann/ops-math su-yueming, wangrui_, LiWei79, luowen203_gg123, shikai-1 zhou-qilong, gubaocheng, loov1
likedislike
CANN-robotCANN-robot成员
2025年11月24日 添加了label:cann-cla/yes
wei-peng-1991成员2025年12月1日进行代码检视2
math/square_v2/op_host/square_v2_tiling.cpp
已过期
@@ -0,0 +56,4 @@
56+ coreNum = ascendcPlatform.GetCoreNumAiv();
57+ 
58+ // 限制核数不超过最大值
59+ if (coreNum > MAX_CORE_NUM) {
wei-peng-19912025年12月1日评论:

为什么要限制最多只使用32核,910B最多有48个aiv核

likedislike
System
系统消息系统
2025年12月10日 评论:

changed this line on 5af650f5 view diff detail

此处折叠了42条消息 查看更多
wei-peng-1991成员
2025年12月12日 评论:

/lgtm

likedislike
sunday成员
2025年12月12日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
2025年12月12日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
2025年12月12日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who writed a comment of /approve are: zhou-qilong.
Reviewers who writed a comment of /lgtm are: wei-peng-1991, zhou-qilong.

likedislike
CANN-robotCANN-robot成员
2025年12月12日 合入了pull request