已合并
Refactor: RT2 Kernel Launch Interface Replacement #4907
李颜戎创建于 19 天前
Refactor: RT2 Kernel Launch Interface Replacement #4907
已合并
李颜戎创建于 19 天前
李颜戎
李颜戎
19 天前

Pull Request

描述

随着runtime库的更新,以下旧的KernelLaunch接口即将被下线:
rtKernelLaunchWithHandleV2
rtVectorCoreKernelLaunchWithHandle
rtKernelLaunchWithFlagV2
rtVectorCoreKernelLaunch
所有使用这些接口的代码需要迁移到新的接口 aclrtLaunchKernelWithHostArgs,以确保兼容性和未来维护。

此PR用于完成 runtime/v2 目录下所有相关代码的适配,替换旧接口为新接口。并通过测试验证新接口的正确性和性能,确保接口替换后保持功能一致性。

变更类型

请选择本次引入的变更类型:

  • [x]♻️ 重构(既不修复错误也不增加功能的代码变动)

关联的Issue

如何测试

描述测试此变更的步骤和前提条件:
1.进行ut/st测试
2.运行各芯片形态的端到端红线用例进行自验证。

核对清单

其他信息

在此添加任何其他关于本次 PR 的说明。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 李颜戎 的贡献)
李颜戎李颜戎
19 天前 添加了label:enhancement
李颜戎李颜戎
19 天前 创建了 pull request,commit ad87008a
CANN-robotCANN-robot成员
19 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
19 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/ge ✅ yangyongqiang0606, tangqunzhang (2/2) ✅ yangyongqiang0606 (1/1)
tests/engines/nn_engine ✅ yangyongqiang0606, tangqunzhang, lijunyu_111 (3/2) ✅ yangyongqiang0606 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

liyanrong_9, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
19 天前 评论:

CLA Signature Pass

liyanrong_9, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
此处折叠了92条消息 查看更多
tangqunzhang成员
16 天前 评论:

/lgtm

likedislike
tangqunzhang成员
16 天前 评论:

【MR评价】评价分数:3.1,
评价意见:
编码规范遵守度:无编码规范问题;
代码设计:不涉及代码设计;
DT质量:基本逻辑DT测试覆盖充足;

likedislike
yangyongqiang
yangyongqiang成员
16 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
16 天前 添加了label:lgtmapproved
CANN-robotCANN-robot成员
16 天前 合入了pull request