Closed
[Bug-Report|缺陷反馈]: https://gitcode.com/cann/hcomm/pull/4372 中op_base.cc中有很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU)),代码结构不良,建议拆分到host和device的不同文件中。 #758
hubyangAdd on  Aug 12Closed at  Sep 22
hubyang
Aug 12 Create

op_base.cc中存在很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU))代码

Describe the current behavior / 问题描述 (Mandatory / 必填)

op_base.cc中存在很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU))代码

Environment / 环境信息 (Mandatory / 必填)

所有型号

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

代码结构问题,必现

Describe the expected behavior / 预期结果 (Mandatory / 必填)

host和device的实现拆分到不同的文件中,host和device只编译对应的文件。

op_base.cc中存在很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU))代码

Special notes for this issue/备注 (Optional / 选填)

op_base.cc中存在很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU))代码

likedislike
丁炜秦
丁炜秦Collaborators
Aug 12 Comments:

对应pr:https://gitcode.com/cann/hcomm/pull/4372
请尽快修复

likedislike
LeewisCollaborators
Aug 12 Comments:

/assign @hubyang

likedislike
CANN-robotCANN-robotCollaborators
Aug 12 Assign hubyang as responsible person
严正行严正行Collaborators
Aug 27 Added label: tech-debt
Hhubyang
Aug 31 Change title to "[Bug-Report|缺陷反馈]: https://gitcode.com/cann/hcomm/pull/4372 中op_base.cc中有很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU)),代码结构不良,建议拆分到host和device的不同文件中。", originally titled "[Bug-Report|缺陷反馈]: op_base.cc中有很多#if (!defined(HCCD)) && (!defined(CCL_KERNEL_AICPU)),代码结构不良,建议拆分到host和device的不同文件中。".
LLeewisCollaborators
Sep 2 associated Kanban: HCCL
LLeewisCollaborators
Sep 2 associated Kanban: HCOMM
Hhubyang
Sep 15 Associated pull request
CANN-robotCANN-robotCollaborators
Sep 22 Close issue
CANN-robotCANN-robotCollaborators
Sep 22 Added label: resolved
LLeewisCollaborators
29 days ago removed Kanban: HCOMM