| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Feat: 实现 sparseLt 库管理接口(Init/Destroy/GetErrorName/GetErrorString) Co-authored-by: Zitao Wang<wangzitao4@huawei.com> # message auto-generated for no-merge-commit merge: !58 merge add_sparseLt_init into master Feat: 实现 sparseLt 库管理接口(Init/Destroy/GetErrorName/GetErrorString) Created-by: wangzitao_leo Commit-by: Zitao Wang Merged-by: cann-robot Description: ## 描述 实现 aclsparseLt 库管理接口,包括 aclsparseLtInit、aclsparseLtDestroy、aclsparseLtGetErrorName、aclsparseLtGetErrorString 四个函数。新增 aclsparseLtHandle_t opaque 类型和 aclsparseLtContext 内部结构体,复用 aclsparseStatus_t 状态码。修复 sparseLt target 的 CMake include 路径排序和链接库配置。 ## 关联的Issue [#99](https://gitcode.com/cann/ops-sparse/issues/99) ## 测试 已在本地通过 GTest 单元测试验证全部接口功能,包括 Init/Destroy 生命周期、错误码转换等场景。 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-sparse!58 | 4 天前 | |
Refactor: 仓库目录结构重组,对齐 ops-blas 组织形式 Co-authored-by: zhanghua145<zhanghua25@mails.ucas.ac.cn> # message auto-generated for no-merge-commit merge: !54 merge refactor/dir-restructure into master Refactor: 仓库目录结构重组,对齐 ops-blas 组织形式 Created-by: zhanghua145 Commit-by: zhanghua145 Merged-by: cann-robot Description: ## 变更说明 对齐 ops-blas 仓库的目录组织形式,重组 ops-sparse 目录结构,为后续 sparseLt 功能扩展做好结构准备。 关联 Issue: #95 ### 目录变更 - src/ -> sparse/(git rename,保留完整 git history) - 新增 sparseLt/ 目录 + CMakeLists.txt(占位框架,对齐 blasLt/) - 删除 include/cann_ops_sparse_common.h(内容合并到 cann_ops_sparse.h + aclsparse_host_utils.h) - 新增 include/cann_ops_sparseLt.h(纯 C 框架,include cann_ops_sparse.h,预留 aclsparseLt API) ### 头文件变更 - cann_ops_sparse.h:保持纯 C,无新增 C++ 内容 - aclsparse_host_utils.h:新增 #include "cann_ops_sparse.h" 和 CHECK_ACL 宏(原 common.h 内容) - 源码中 #include "cann_ops_sparse_common.h" 全部替换为 #include "aclsparse_host_utils.h" ### 构建系统变更 - 根 CMakeLists.txt:add_subdirectory(sparse),新增 sparseLt 构建逻辑,install 规则更新 - cmake/test.cmake、test/*/CMakeLists.txt:src/ -> sparse/ 路径引用 - sparse/CMakeLists.txt:日志前缀 [src] -> [sparse] ### 验证 - ascend950 编译通过 - csrgeam2(64 cases)、nnz(29 cases)、spmm(7 cases)、gtsv_interleaved_batch全部测试通过,spmv并非失败,而是不支持arch35  - spmv 仅 arch22 实现,arch35 无源码属预期跳过 See merge request: cann/ops-sparse!54 | 6 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 天前 | ||
| 6 天前 |