已合并
aclnnFloorDiv A3上int64数据类型支持走AICORE分支 #1608
sunchun创建于 3月12日
aclnnFloorDiv A3上int64数据类型支持走AICORE分支 #1608
已合并
sunchun创建于 3月12日
已删除 :floordiv1合入到cann/ops-mathmaster
sunchun成员
3月12日

描述

floordiv A3上AICORE支持int64数据类型

关联的Issue

https://gitcode.com/cann/ops-math/issues/925

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sunchun 的贡献)
Ssunchun成员
3月12日 创建了 pull request,commit be5a34ff
CANN-robot
CANN-robot成员
3月12日 评论:

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/floor_div rxtfeng, FelixTang7 (2/2) rxtfeng (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
3月12日 将FelixTang7,zhou-qilong,wangrui_,rxtfeng,loov1,songkai111,zhangyuxiang0119,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
3月12日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月12日 将FelixTang7,zhou-qilong,wangrui_,rxtfeng,loov1,songkai111,zhangyuxiang0119,llimwang,gubaocheng设为审查人
CANN-robot
CANN-robot成员
3月12日 评论:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robot成员
3月12日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
CANN-robot
CANN-robot成员
3月12日 评论:

问题/功能描述

本次PR旨在扩展FloorDiv算子在DAV_2201 NPU架构上的AiCore数据类型支持。主要解决了该算子在新硬件平台上无法利用AiCore高性能计算单元执行的问题,确保了算子在不同NPU架构下功能与性能的一致性。

修改方案描述

修改了GetAiCoreDtypeSupportListBySocVersion函数中的switch-case逻辑,将NpuArch::DAV_2201添加到与NpuArch::DAV_3510相同的处理分支中。这使得当运行在DAV_2201架构上时,FloorDiv算子能返回包含DT_INT64等更多数据类型的支持列表,从而能够调用AiCore内核进行计算,提升了算子的执行效率。

likedislike
sunchun成员
3月12日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月12日 评论:

流水线任务触发成功
任务链接 [a67a52516e3b4b1e82e5601770a6f7a7][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
harmony-infer ✅ SUCCESS
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-12 15:06:07]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:api-check-pass
此处折叠了7条事件消息 查看更多
Rrxtfeng成员
3月12日 通过了评审
rxtfeng成员
3月12日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:approved
FelixTang7成员
3月12日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:lgtm
CANN-robot
CANN-robot成员
3月12日 评论:

Review Guide

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

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