Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
新增reduce_std_v2算子的Ascend C实现
该需求用于提升 reduce_std_v2 的可维护性和可交付性,支持在 Ascend 910B3 环境完成本地编译、UT、安装和上板示例验证。
使能方式为 aclnn 直调接口:
aclnnStd host 侧完成参数校验、shape 推导、空 tensor/特殊 correction 处理,并根据平台选择执行路径。
当前 aclnnStd 支持:
Ascend 910B 系列:
Ascend 910 系列:
输入 self 与输出 out 需要满足 dtype 支持列表,并满足 dtype cast 约束。
host 侧主要包含:
参数校验:
shape 处理:
特殊值处理:
910B3 可用路径:
UT 支撑:
reduce_std_v2 当前保留 arch35 AICore kernel 实现,面向支持 arch35 的硬件路径。
当前设计支持:
已验证环境:
当前约束:
/assign
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
一、背景信息 (必填)
新增reduce_std_v2算子的Ascend C实现
二、价值/作用 (必填)
该需求用于提升 reduce_std_v2 的可维护性和可交付性,支持在 Ascend 910B3 环境完成本地编译、UT、安装和上板示例验证。
三、设计方案 (必填)
3.1 使能方式(涉及哪些框架:如Aclnn直调、Pytorch训练等)
使能方式为 aclnn 直调接口:
3.2 总体设计
aclnnStd host 侧完成参数校验、shape 推导、空 tensor/特殊 correction 处理,并根据平台选择执行路径。
3.2.1 算子支持的数据类型
当前 aclnnStd 支持:
Ascend 910B 系列:
Ascend 910 系列:
输入 self 与输出 out 需要满足 dtype 支持列表,并满足 dtype cast 约束。
3.2.2 host侧设计
host 侧主要包含:
参数校验:
shape 处理:
特殊值处理:
910B3 可用路径:
UT 支撑:
3.2.3 kernel侧设计
reduce_std_v2 当前保留 arch35 AICore kernel 实现,面向支持 arch35 的硬件路径。
3.3 支持硬件
当前设计支持:
已验证环境:
3.4 算子约束限制
当前约束: