Skip to content

feat(hipify): support npp, codec and other related interfaces and typ… - #5

Merged
wenzhs merged 3 commits into
HYGON-AI:v2.12from
Fengzch:v2.12
Oct 10, 2026
Merged

wenzhs merged 3 commits into
HYGON-AI:v2.12from
Fengzch:v2.12

Conversation

@Fengzch

@Fengzch Fengzch commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

add npp, codec and other related interfaces and types for transcoding

@Fengzch
Fengzch requested a review from wenzhs October 10, 2026 12:50
@hygon-ai-reviewer

hygon-ai-reviewer Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

AI Review

审查尚未完整完成,无法给出整体结论;当前没有可发布的已确认问题,不代表代码没有问题。

审查未完整完成:以 GitHub 返回的 PR diff 为主体,关联上下文仅用于核验,未运行代码。

覆盖情况:共 1 个文件,已审查 0 个,部分审查 1 个。

进度已保存。正在继续处理。

@hygon-ai-reviewer hygon-ai-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review

🟢 未发现有明确证据的问题

在已提供并完成审查的 diff 范围内未形成可确认问题。

变更概览

本次变更主要包含:

  • 本批在 fastpt/cuda_to_hip_mappings.py 文件头版权声明后新增一行开发者标记注释,本批 diff 未包含其他功能性改动
  • 在 fastpt/cuda_to_hip_mappings.py 中新增 NVJPEG_TO_MACJPEG_MAPPINGS 有序映射表,将 CUDA nvJPEG 的头文件、常量、类型和函数名映射为 libmacjpeg/macjpeg.h 对应符号,并注明无对应后端的场景保持标记为不支持。
  • 在 fastpt/cuda_to_hip_mappings.py 中批量新增 nvjpeg 解码、编码、参数及 JpegStream 系列接口到 macjpeg 前缀对应接口的映射条目。
  • 新增 NVIMGCODEC_TO_DUIMGCODEC_MAPPINGS 有序映射表,将 nvImageCodec 的头文件、宏、枚举、类型与 API 标识映射为 DTK duImageCodec 对应名称。
文件审查摘要
文件 变更 审查结果
fastpt/cuda_to_hip_mappings.py 修改 · +1202/-1 —
审查信息
  • 变更统计:1 个文件,+1202/-1。
  • 覆盖情况:共 1 个文件,已完整审查 1 个。
  • 候选问题:1 项;证据复核过滤:1 项;发布前敏感信息保护:0 项。
  • 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。

@wenzhs
wenzhs merged commit 450426d into HYGON-AI:v2.12 Oct 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants