已合并
conv op compile option add close dcci #2616
conv op compile option add close dcci #2616
已合并
weiyan_hw创建于 3月12日
weiyan_hw成员
3月12日

描述

编译选项添加关闭dcci -mllvm -cce-aicore-dcci-before-kernel-end=false, 在cann仓时默认是添加上的,在ops-nn仓编译选项不会带上,会影响整网小case头尾开销,需要手动添加

关联的Issue

Issue #1397

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 weiyan_hw 的贡献)
Wweiyan_hw成员
3月12日 创建了 pull request,commit 4f7c868c
Wweiyan_hw成员
3月12日 关联了issue:[Bug-Report|缺陷反馈]: 卷积算子默认的编译选项里面不会带上不使能dcci的选项,需要手动配置
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日 评论:

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
scripts liubo75, fanqirui (2/2) liubo75 (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日 将crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2设为评审人
CANN-robotCANN-robot成员
3月12日 将crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2设为审查人
CANN-robotCANN-robot成员
3月12日 添加了label:cann-cla/yes
weiyan_hw成员
3月12日 评论:

compile

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

CLA Signature Pass

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

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

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

任务名称状态日志下载链接
解析CI分支 ✅ SUCCESS
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_950_ubuntu24 ✅ 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_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-12 16:32:07]    CI执行结束

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

问题/功能描述

本次PR旨在优化特定硬件(ascend950)上卷积算子的性能或功能表现。具体为Conv2DV2Conv3DV2QuantConv3DExtendConv2D四个算子,通过统一添加特定的编译器选项来调整其在目标硬件上的编译行为。

修改方案描述

修改了配置文件ascendc_config.json,针对ascend950计算单元,为上述四个卷积相关算子的compile_options字段添加了-mllvm -cce-aicore-dcci-before-kernel-end=false编译选项。其中,Conv2DV2是在现有选项基础上追加,其余三个算子则是新增了该配置项。本次变更仅涉及静态配置文件的调整,不涉及业务逻辑代码。

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

/lgtm

likedislike
liubo75成员
3月13日 评论:

/approve

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

Review Guide

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

likedislike
CANN-robotCANN-robot成员
3月13日 合入了pull request