aiv only support scratch memory in allreduce
Co-authored-by: zhiweihai_00958272<zhiweihai@huawei.com>
# message auto-generated for no-merge-commit merge:
!467 merge allreduce_scratchMem into master
aiv only support scratch memory in allreduce
Created-by: Helmar
Commit-by: zhiweihai_00958272
Merged-by: cann-robot
Description: ## 描述
allreduce算子只在大数据量的场景下,申请了scratch mem;在aiv only场景下没有申请——>aiv only也需要申请
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #123-->
<!-- 如果这个PR不涉及Issue,可填写"NA"。-->
【DTS2026012319144】静态图模式,allreduce 算子报错Current resource size is not enough
## 测试
静态图模式aivonly模式下allreduce进行测试
## 文档更新 "NA"
<!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。-->
## 类型标签
<!-- [x] 表示选中 -->
- [x] Bug修复
- [ ] 新特性
- [ ] 性能优化
- [ ] 文档更新
- [ ] 其他,请描述:
See merge request: cann/hcomm!467