已关闭
[Bug-Report|缺陷反馈]: agent的repo-skill需要维护 #340
Riki创建于 8月6日关闭于 8月6日
8月6日 添加了label:bug-report
8月6日 修改了issue 的描述
8月6日 将 Twoliges 设为负责人
8月6日 修改标题为 “[Bug-Report|缺陷反馈]: agent的repo-skill需要维护”,原标题为“[Bug-Report|缺陷反馈]: ”
8月6日 关联了pull request:fix(skills): 修复agent代码生成质量缺陷 - SIMD优先/临时文件清理/架构反选
8月6日 关闭了 issue
8月6日 添加了label:resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
cuda2ascend 插件在 ops-blas 仓的 agent skills 配置存在以下缺陷,导致 agent 生成的算子代码质量不佳:
编程模型选择偏向 SIMT:遇到复杂计算时 agent 倾向选择 SIMT 实现(如
__simt_vf__+asc_vf_call),而非优先评估 SIMD 方案。例如 syrkx 明明可使用 SIMD 的 AscendC API 替代 SIMT 逐元素操作,agent 未分析出来。架构选择未按 SOC 默认反选:在 CP0 已明确 ascend950 的情况下,agent 仍试图生成 arch22 架构算子的目录和代码。例如 sgemv 在 ascen950 目标下产生了 arch22 的代码。
临时文件被带入 PR:性能迭代工作流中产生的
{op}_perf.cpp、{op}_perf.csv、run_perf.py等文件,提 PR 时会被一并带上。波及 herk 等算子。Environment / 环境信息 (Mandatory / 必填)
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
*_perf.*文件Describe the expected behavior / 预期结果 (Mandatory / 必填)
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
用户反馈记录