| Files | Last commit | Last update |
|---|---|---|
rename slice.h --> slice_arch35.h Co-authored-by: xufeng12121<1074805447@qq.com> # message auto-generated for no-merge-commit merge: !3242 merge slice_ar into master rename slice.h --> slice_arch35.h Created-by: xufeng12121 Commit-by: xufeng12121 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> slice算子Kernel和aclnn 重名,将kernel 下的slice.h 改成slice_arch35.h ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/ops-math/issues/1929 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟: david:http://7.215.10.221/scheduler/alljobs?length=100&isalljobs=true&search=20260609_222036479 obp: http://7.215.10.221/scheduler/alljobs?length=100&isalljobs=true&search=20260610_063711063 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!3242 | 5 months ago | |
slice strided_slice strided_slice_v3注册补全HIFLOAT4/HIFLOAT4_SCALE类型 Co-authored-by: xiapengcheng5<xiapengcheng5@huawei.com> # message auto-generated for no-merge-commit merge: !6471 merge master into master slice strided_slice strided_slice_v3注册补全HIFLOAT4/HIFLOAT4_SCALE类型 Created-by: xiapengcheng5 Commit-by: xiapengcheng5 Merged-by: cann-robot Description: ## 描述 slice strided_slice strided_slice_v3注册补全HIFLOAT4/HIFLOAT4_SCALE类型 ## 关联的Issue [#3659](https://gitcode.com/cann/ops-math/issues/3659) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6471 | 1 month ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago | |
feat: slice、strided_slice、strided_slice_v2、strided_slice_v3 算子新增ascend960dt平台支持 Co-authored-by: xiapengcheng5<xiapengcheng5@huawei.com> Co-authored-by: yaolu_happy<yaolu15@huawei.com> # message auto-generated for no-merge-commit merge: !6279 merge master into master feat: slice、strided_slice、strided_slice_v2、strided_slice_v3 算子新增ascend960dt平台支持 Created-by: xiapengcheng5 Commit-by: yaolu_happy;xiapengcheng5 Merged-by: cann-robot Description: ## 描述 为 slice、strided_slice、strided_slice_v2、strided_slice_v3 四个算子新增 ascend960dt 平台支持,使其可在 ascend960dt(Ascend960DT_968B7)芯片上完成编译与调用。主要改动: ## 算子定义与编译配置 各算子 op_host 定义文件(slice_def.cpp、strided_slice_def.cpp、strided_slice_v2_def.cpp、strided_slice_v3_def.cpp)通过 AICore().AddConfig("ascend960dt", ...) 注册平台配置 各算子 CMakeLists.txt 的 SUPPORT_COMPUTE_UNIT 增加 "ascend960dt",tiling 目录沿用 arch35;get_shape 的 kernel 源码 COMPUTE_UNITS 同步增加 ascend960dt 新增各算子 ascend960dt 平台二进制编译配置 op_host/config/ascend960dt/*_binary.json 与 *_simplified_key.ini(simplified_key_mode=0) ascendc_config.json 中 slice、strided_slice、strided_slice_v2、strided_slice_v3 的 compute_units 增加 ascend960dt,并配置对应编译选项 ## op_api 适配 slice.cpp 的 IsSliceV2ARAFullLoadSupport 增加 NpuArch::DAV_9201 分支,数据类型支持列表新增 (FLOAT4_E1M2、FLOAT4_E2M1) strided_slice.cpp 的 isAiCoreSupport 增加 NpuArch::DAV_9201 分支,数据类型支持列表新增 (FLOAT4_E1M2、FLOAT4_E2M1) ## 关联的Issue [#3582](https://gitcode.com/cann/ops-math/issues/3582) <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 已通过 pre-commit 检查(clang-format 格式、codespell 拼写、文件末尾换行整改,见提交记录) ## 文档更新 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6279 | 1 month ago | |
feat(slice): 适配 ascend960pr(DV122) 平台 Co-authored-by: jzj007<jiangzhijie9@huawei.com> # message auto-generated for no-merge-commit merge: !7291 merge feat/slice-ascend960pr into master feat(slice): 适配 ascend960pr(DV122) 平台 Created-by: jzj007 Commit-by: jzj007 Merged-by: cann-robot Description: ## 描述 新增 Slice 算子在 ascend960pr(DV122,NpuArch = DAV_9202)平台的支持。 主要改动: 1. conversion/slice/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 增加 ascend960pr,对应 tiling 目录复用 arch35。 2. conversion/slice/op_host/slice_def.cpp:新增 AICore().AddConfig("ascend960pr", config91096),复用 ascend960dt 的输入输出定义与动态编译/动态 shape 配置。 3. conversion/slice/op_api/slice.cpp:IsAiCoreSupport 中 DAV_9202 与 DAV_9201 共用同一 AICore 数据类型支持列表。 4. conversion/slice/op_kernel/arch35/*.h(8 个文件):DataCopyPad / DataCopy 的 loopMode 分支条件由 __DAV_920R1__ 扩展为 __DAV_920R1__ || __DAV_920R2__,使 DV122 走带 loopMode 参数的搬运路径。 5. conversion/slice/op_host/config/ascend960pr/slice_binary.json(新增):ascend960pr 的 kernel binary 配置。 6. scripts/kernel/binary_config/ascendc_config.json:Slice 条目的 compute_units 与 compile_options 增加 ascend960pr。 ## 关联的Issue #4665 ## 测试 - [x] slice_binary.json 通过 JSON 格式校验;ascendc_config.json 修改后整体 JSON 解析通过 - [x] ascend960pr 在 cmake/soc_arch_variables.cmake 中映射为 dav_9202,与 slice 声明的 arch35 tiling 目录匹配 - [x] 已通过编译验证(--soc=ascend960pr) - [x] 已完成上板功能/精度验证(ascend960pr 平台) ## 文档更新 无。本次仅新增芯片平台适配,算子接口与功能不变。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7291 | 10 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 months ago | ||
| 1 month ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 1 month ago | ||
| 10 days ago |