已关闭
[Bug-Report|缺陷反馈]: CPU模式下使用float8,float4数据类型替换fp8,fp4数据类型,违背对外统一使用fp8,fp4数据类型的规范 #1265
yhkz9211创建于  7月16日关闭于  16 天前
yhkz9211成员
7月16日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

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

impl/utils/sys_macros.h中,cpu模式为保证CAPI UT编译正常使用了float8,float4数据类型来替代fp8, fp4数据类型,现在需要删除这些using语句,保持对外统一使用fp8,fp4数据类型的标准规范

#if (defined(ASCENDC_CPU_DEBUG) && (ASCENDC_CPU_DEBUG == 1))
#include "stub_def.h"
using float4_e1m2x2_t = fp4x2_e1m2_t;
using float4_e2m1x2_t = fp4x2_e2m1_t;
using float8_e4m3_t = fp8_e4m3fn_t;
using float8_e5m2_t = fp8_e5m2_t;
using float8_e8m0_t = fp8_e8m0_t;
#endif

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

A2/A3/A5

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

NA

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

去除多余的using语句

NA

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

likedislike
Yyhkz9211成员
7月16日 添加了label:bug-report
Yyhkz9211成员
7月16日 将 pangfd 设为负责人
Yyhkz9211成员
7月16日 将 yhkz9211 设为负责人
Ggao_dafa成员
7月16日 移除了负责人 pangfd
Yyhkz9211成员
7月17日 修改了issue 的描述
Yyhkz9211成员
7月17日 将 pangfd 设为负责人
Yyhkz9211成员
7月25日 移除了负责人 yhkz9211
pangfd成员
7月25日 评论:

感谢您的反馈!
我们已经确认了问题,将尽快修复。

likedislike
pangfd成员
18 天前 评论:

我们已完成修改,正在验证相关功能。

likedislike
pangfd成员
18 天前 评论:

问题已合入主线。您可在master分支查看相关修改。
再次感谢您对社区的关注和贡献!

likedislike
Ppangfd成员
18 天前 issue状态由 待办的 改变为 修复中
Ppangfd成员
18 天前 issue状态由 修复中 改变为 已完成
Ppangfd成员
18 天前 关闭了 issue
Yyhkz9211成员
17 天前 关联了pull request:remove datatypes
Yyhkz9211成员
17 天前 issue状态由 已完成 改变为 待办的
Yyhkz9211成员
17 天前 重新打开了 issue
CANN-robotCANN-robot成员
16 天前 关闭了 issue
CANN-robotCANN-robot成员
16 天前 添加了label:resolved