| modify aclnn dir
Co-authored-by: Ding_Jing<dingjing19@huawei.com>
# message auto-generated for no-merge-commit merge:
!2737 merge asinh_aclnn_0514 into master
modify aclnn dir
Created-by: Ding_Jing
Commit-by: Ding_Jing
Merged-by: cann-robot
Description: ## 描述
将 asinh 算子的 aclnn 接口文件从 op_host/op_api/ 目录移动到 op_api/ 目录,以符合 ops-math 仓库的目录结构规范。
**变更内容:**
1. 移动文件:
- math/asinh/op_host/op_api/aclnn_asinh.cpp → math/asinh/op_api/aclnn_asinh.cpp
- math/asinh/op_host/op_api/aclnn_asinh.h → math/asinh/op_api/aclnn_asinh.h
- math/asinh/op_host/op_api/asinh.cpp → math/asinh/op_api/asinh.cpp
- math/asinh/op_host/op_api/asinh.h → math/asinh/op_api/asinh.h
2. 更新测试文件 include 路径:
- math/asinh/tests/ut/op_host/op_api/test_asinh.cpp
**原因:**
统一目录结构,将 aclnn 接口与 host 实现分离,职责更加明确,便于后续维护和扩展。
## 关联的Issue
#1557
## 测试
根据代码变更,测试场景如下:
1. **编译构建测试**
- 验证文件移动后项目能正常编译
- 验证 CMake 配置正确识别新路径
2. **单元测试验证**
- 执行 math/asinh/tests/ut/op_host/op_api/test_asinh.cpp 单元测试
- 验证 include 路径更新正确,测试通过
3. **功能验证**
- 验证 asinh 算子功能正常
- 确认目录结构调整不影响算子行为
## 文档更新
无需文档更新,此为代码重构,不涉及接口变更。
## 类型标签
- [ ] Bug修复
- [ ] 新特性
- [ ] 性能优化
- [ ] 文档更新
- [x] 其他,请描述:♻️ 重构 - 调整目录结构
See merge request: cann/ops-math!2737 | 19 天前 |