Closed
[Bug-Report|缺陷反馈]: LogicalNot A3类型不支持,没有做校验 #3207
bynshardAdd on  Sep 3Closed at  Sep 22
bynshard
bynshardCollaborators
Sep 3 Create

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

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

在A3 上测试 int32,编译操作,pto-isa 静态校验

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

A3
最新的主线包

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

在A3 上,跑 int32 的测试用例

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

正确拦截

In file included from /home/operation/Ascend/cann-9.2.0/include/pto/common/pto_instr_impl.hpp:92:
/home/operation/Ascend/cann-9.2.0/include/pto/npu/a2a3/TMins.hpp:52:5: error: static assertion failed due to requirement 'std::is_same<unsigned short, int>::value || std::is_same<unsigned short, int>::value || std::is_same<unsigned short, short>::value || std::is_same<unsigned short, half>::value || std::is_same<unsigned short, half>::value || std::is_same<unsigned short, float>::value || std::is_same<unsigned short, float>::value': TMINS: Invalid data type
static_assert(
^
/home/operation/Ascend/cann-9.2.0/include/pto/common/pto_instr.hpp:1782:5: note: in instantiation of function template specialization 'pto::TMINS_IMPL<pto::Tile<pto::TileType::Vec, unsigned short, 1, 2048, pto::BLayout::RowMajor, -1, -1, pto::SLayout::NoneBox, 512, pto::PadValue::Null, pto::CompactMode::Null>, pto::Tile<pto::TileType::Vec, unsigned short, 1, 2048, pto::BLayout::RowMajor, -1, -1, pto::SLayout::NoneBox, 512, pto::PadValue::Null, pto::CompactMode::Null>>' requested here
MAP_INSTR_IMPL(TMINS, dst, src, scalar);
^
/home/operation/Ascend/cann-9.2.0/include/pto/common/pto_instr.hpp:24:34: note: expanded from macro 'MAP_INSTR_IMPL'
#define MAP_INSTR_IMPL(API, ...) API##_IMPL(VA_ARGS)
^
:110:1: note: expanded from here

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

likedislike
lidongshenglidongshengCollaborators
Sep 3 Assign bynshard as responsible person
lidongsheng
lidongshengCollaborators
Sep 3 Comments:

请及时合入

likedislike
袁野袁野Collaborators
Sep 15 Added label: Operations
bynshardbynshardCollaborators
Sep 22 changed custom state from 进行中 to 已完成
bynshardbynshardCollaborators
Sep 22 Close issue
CANN-robotCANN-robotCollaborators
Sep 22 Added label: resolved