From 1050cefb3ab09ff0f7540df07d2998cac1bf8d47 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Mon, 6 Jan 2025 18:25:37 -0500 Subject: [PATCH 1/6] SWDEV-507699 - Update HIP license date Change-Id: Iab6c0cd8dd06df3d830f5a0638f41f6865574f64 --- LICENSE.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 797310b44b..a8d7060d44 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2008 - 2024 Advanced Micro Devices, Inc. +Copyright (c) 2008 - 2025 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -17,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - From 808274984d5aa960e3db8e2480a3f20199af3310 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Mon, 6 Jan 2025 19:20:55 -0500 Subject: [PATCH 2/6] SWDEV-507714 - Update description for hip API hipDriverGetVersion Change-Id: Icec9d8b8beed2745a7344734b2449d4a2b4f494f --- include/hip/hip_runtime_api.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 14599522a8..f1488e82a3 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1836,13 +1836,15 @@ hipError_t hipInit(unsigned int flags); * * @param [out] driverVersion driver version * + * HIP driver version shows up in the format: + * HIP_VERSION_MAJOR * 10000000 + HIP_VERSION_MINOR * 100000 + HIP_VERSION_PATCH. + * * @returns #hipSuccess, #hipErrorInvalidValue * - * @warning The HIP feature set does not correspond to an exact CUDA SDK driver revision. - * This function always set *driverVersion to 4 as an approximation though HIP supports - * some features which were introduced in later CUDA SDK revisions. - * HIP apps code should not rely on the driver revision number here and should - * use arch feature flags to test device capabilities or conditional compilation. + * @warning The HIP driver version does not correspond to an exact CUDA driver revision. + * On AMD platform, the API returns the HIP driver version, while on NVIDIA platform, it calls + * the corresponding CUDA runtime API and returns the CUDA driver version. + * There is no mapping/correlation between HIP driver version and CUDA driver version. * * @see hipRuntimeGetVersion */ From f06f532ae5da6b7023aa8a40d235eaa9f31fae4d Mon Sep 17 00:00:00 2001 From: randyh62 <42045079+randyh62@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:25:56 -0800 Subject: [PATCH 3/6] Update terms.md Add SEO metadata to the markdown file --- docs/reference/terms.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/terms.md b/docs/reference/terms.md index ea2b9d96ab..713bf6eb81 100644 --- a/docs/reference/terms.md +++ b/docs/reference/terms.md @@ -1,3 +1,9 @@ + + + + + + # Table comparing syntax for different compute APIs |Term|CUDA|HIP|OpenCL| From e9abfe430c1299456355c229ff010c73903e83a3 Mon Sep 17 00:00:00 2001 From: randyh62 <42045079+randyh62@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:36:36 -0800 Subject: [PATCH 4/6] Update hip_porting_guide.md add metadata to markdown file --- docs/how-to/hip_porting_guide.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/how-to/hip_porting_guide.md b/docs/how-to/hip_porting_guide.md index bc3a2deda9..3e84e20b86 100644 --- a/docs/how-to/hip_porting_guide.md +++ b/docs/how-to/hip_porting_guide.md @@ -1,3 +1,9 @@ + + + + + + # HIP porting guide In addition to providing a portable C++ programming environment for GPUs, HIP is designed to ease From 91941af9107d12d663da0ac456cb414cfb91e829 Mon Sep 17 00:00:00 2001 From: randyh62 <42045079+randyh62@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:38:25 -0800 Subject: [PATCH 5/6] Update debugging_env.rst add metadata to RST file --- docs/how-to/debugging_env.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/how-to/debugging_env.rst b/docs/how-to/debugging_env.rst index 7b3204143d..b3544a967f 100644 --- a/docs/how-to/debugging_env.rst +++ b/docs/how-to/debugging_env.rst @@ -1,3 +1,7 @@ +.. meta:: + :description: Debug environment variables for HIP. + :keywords: AMD, ROCm, HIP, debugging, Environment variables, ROCgdb + .. list-table:: :header-rows: 1 :widths: 35,14,51 From db5960e7074c62d361f32dbbabcbf9298ed7390a Mon Sep 17 00:00:00 2001 From: randyh62 <42045079+randyh62@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:40:50 -0800 Subject: [PATCH 6/6] Update hip_rtc.md add metadata to markdown file --- docs/how-to/hip_rtc.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/how-to/hip_rtc.md b/docs/how-to/hip_rtc.md index b96c069cb2..0bf3a56570 100644 --- a/docs/how-to/hip_rtc.md +++ b/docs/how-to/hip_rtc.md @@ -1,3 +1,9 @@ + + + + + + # Programming for HIP runtime compiler (RTC) HIP lets you compile kernels at runtime with the `hiprtc*` APIs.