| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix readme error Co-authored-by: tingwood<zhangzijing@huawei.com> # message auto-generated for no-merge-commit merge: !930 merge master into master fix readme error Created-by: tingwood Commit-by: tingwood Merged-by: cann-robot Description: ## 描述 更改了built_in_task/0_reduce_task样例 readme中 aclrtReduceAsync接口参数错误 更改了quickstart样例 readme中 aclnnAddGetWorkspaceSize接口参数错误 ## 关联的Issue https://gitcode.com/cann/runtime/issues/241 ## 测试 NA ## 文档更新 更改了built_in_task/0_reduce_task样例 readme中 aclrtReduceAsync接口参数错误 更改了quickstart样例 readme中 aclnnAddGetWorkspaceSize接口参数错误 ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/runtime!930 | 6 个月前 | |
Add three samples: quickstart, reduce task sample and random num task sample Co-authored-by: tingwood<zhangzijing@huawei.com> # message auto-generated for no-merge-commit merge: !787 merge master into master Add three samples: quickstart, reduce task sample and random num task sample Created-by: tingwood Commit-by: tingwood Merged-by: cann-robot Description: ## 描述 增加了3个sample |样例目录|子目录 | 功能介绍 | |--------|-----------------|--------------------------| |quickstart|quickstart|本示例是使用Runtime接口的快速入门示示例。展示了如何使用 CANN Runtime 的 aclnnAdd API 执行向量加法操作。aclnnAdd 是 CANN 神经网络算子库提供的加法算子,实现了 out = self + alpha * other 的运算。| |built_in_task|0_reduce_task|本示例展示了如何使用 CANN Runtime 的 aclrtReduceAsync API 执行规约(Reduce)操作。规约是并行计算中的常见操作,用于对数组元素进行求和、求最大值等操作。| |built_in_task|1_random_num_task|本示例展示了如何使用 CANN Runtime 的 aclrtRandomNumAsync API 生成随机数。支持多种随机数分布类型和数据类型,用于满足不同场景下的随机数生成需求。| ## 关联的Issue NA ## 测试 已通过测试 ## 文档更新 已更新example下的readme ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:example See merge request: cann/runtime!787 | 6 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 6 个月前 |