Closed
[Requirement|需求建议]: 长尾算子加固:ForeachDivList/ForeachAddcdivScalar 校验补齐与 Ascend350(DVLite) 适配 #7192
wenqi_wuAdd on Oct 22Closed at Oct 23
Oct 22 Added label: requirement
Oct 22 Assign wenqi_wu as responsible person
Oct 23 Close issue
Oct 23 Added label: resolved


Background(背景信息)
长尾算子加固工作的一部分:ForeachDivList 与 ForeachAddcdivScalar 属于 foreach 算子族,当前对非法输入缺少前置校验(列表长度不一致、负维度、标量 dtype/元素数非法等),存在静默截断或越界风险;同时两算子缺少 Ascend350(DVLite) 平台适配(CMakeLists 未纳入 ascend350、def.cpp 未注册、缺少 config/ascend350 二进制配置、中央 ascendc_config.json 未登记),无法在 Ascend350 上构建运行。
Origin(信息来源)
CANN ops-nn 仓库长尾算子加固工作项,验证方式:静态检查 + kernel + GEIR(对齐同族 Ascend350 适配模式,参考 PR#9834)。
Benefit / Necessity (价值/作用)
Design(设计方案)
关联 PR:https://gitcode.com/cann/ops-nn/pull/12531