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
丁炜秦
Aug 12 Comments:
Aug 12 Comments:
对应pr:https://gitcode.com/cann/hcomm/pull/4372
请尽快修复


Aug 12 Assign hubyang as responsible person
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的不同文件中。".
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的不同文件中。".
Sep 22 Close issue
Sep 22 Added label: resolved
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只编译对应的文件。
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
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))代码