目录
Rakesh Roy

HIP Version Fixes

Motivation

  1. Updation of HIP VERSION from Git tag is not working in:
  • Linux & Windows PSDB builds
  • Windows TheROCk nightly builds

There its falling back to version 7.2 hardcoded in projects/hip/VERSION file. This can cause build failures in downstream components when sudden Version bump happens in Release builds. Because downstream components may enable different code paths based on HIP major & minor versions.

  1. Everytime HIP is built, it pollutes the projects/hip/VERSION file in source tree. This breaks fingerprinting.

Technical Details

  1. Take HIP major, minor versions from VERSION file & generate patch version from Git commit date.
  2. Don’t update projects/hip/VERSION file in source tree, instead directly update share/hip/version & include/hip/hip_version.h files in build tree.
  3. Bump HIP minor version for ROCm 7.13 in VERSION file.

JIRA ID

AIRUNTIME-2027

Test Plan

Verified by building locally.

Test Result

Passed

Submission Checklist

4天前7308次提交

HIP

HIP is a C++ runtime API and kernel language for AMD GPUs. It allows developers to create portable applications by providing a programming interface that is similar to NVIDIA CUDA, making it straightforward to port existing NVIDIA CUDA code to run on AMD hardware.

关于

一款适用于 AMD 图形处理器的 C++ 运行时 API 和内核语言。

53.1 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号