已合并
【bugfix】math仓conversion和random支持非连续 #1817
majiajian_hw创建于 3月23日
【bugfix】math仓conversion和random支持非连续 #1817
已合并
majiajian_hw创建于 3月23日
majiajian_hw成员
3月23日

描述

部分aclnn接口(coalesce_sparse、sim_thread_exponential算子自动生成的aclnn接口)不支持非连续tensor

关联的Issue

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

测试

测试通过

文档更新

NA

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 majiajian_hw 的贡献)
Mmajiajian_hw成员
3月23日 创建了 pull request,commit 54e79501
CANN-robot
CANN-robot成员
3月23日 评论:

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
*/*/op_host/*_def.cpp tang-lei01, wangrui_ (2/2) tang-lei01 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
3月23日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月23日 将zhou-qilong,wangrui_,rxtfeng,loov1,songkai111,llimwang,gubaocheng设为评审人
majiajian_hw成员
3月23日 评论:

compile

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

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

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

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

任务名称状态日志下载链接
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 >>>>> >>>>>
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 >>>>>
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>

[2026-03-23 11:06:43]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月23日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月23日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月23日 添加了label:ci-pipeline-passed
Mmajiajian_hw成员
3月23日 修改了pull request 的描述
Mmajiajian_hw成员
3月23日 修改了pull request 的描述
li_wei21
3月24日 评论:

/look_good

likedislike
Mmajiajian_hw成员
3月24日 预合并成功(commit_id: 8a7cbb63a88dc842611f78eda3cc5cfdd43c3dd9)
Mmajiajian_hw成员
3月24日 推送  1 个提交:2fe0851c-bugfix
Mmajiajian_hw成员
3月24日 预合并成功(commit_id: 237ce8456bdb38357021a6d4ea8588bc7a4f2834)
CANN-robotCANN-robot成员
3月24日 添加了label:stat/needs-squash
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
3月24日 评论:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

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

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

likedislike
Mmajiajian_hw成员
3月24日 预合并成功(commit_id: ed8f8f480ff5a816d381cc66ab0f03572447b5a7)
Mmajiajian_hw成员
3月24日 强制推送  11 个提交:586b19b1-10 commits from branch masterbee5d0fa-【bugfix】math仓conversion和random支持非连续
Mmajiajian_hw成员
3月24日 预合并成功(commit_id: 9782d6d79b2a1393c7a5ecf619b5a7808460ff0a)
CANN-robotCANN-robot成员
3月24日 删除了label:stat/needs-squash
CANN-robot
CANN-robot成员
3月24日 评论:

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

likedislike
majiajian_hw成员
3月24日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月24日 删除了label:api-check-pass
CANN-robot
CANN-robot成员
3月24日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ❌ FAILED >>>>>
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 >>>>> >>>>>
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 >>>>>
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test ⚪ ABORTED
UT_Test_experimental ⚪ ABORTED
UT_Test_kernel ⚪ ABORTED
Smoke_A900_npupool ⚪ ABORTED
API_Check ⚪ ABORTED >>>>>

[2026-03-24 11:27:11]    CI执行失败

likedislike
li_wei21
3月24日 评论:

/look_good

likedislike
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-failed
majiajian_hw成员
3月24日 评论:

compile

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

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

任务名称状态日志下载链接
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 >>>>> >>>>>
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 >>>>>
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>

[2026-03-24 11:51:59]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-passed
RuiWang_成员
3月24日 评论:

/lgtm

likedislike
tang-lei01成员
3月24日 评论:

/approve

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

Review Guide

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

likedislike
CANN-robotCANN-robot成员
3月24日 合入了pull request
Mmajiajian_hw成员
3月24日 修改了pull request 的描述