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. - 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 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 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. 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| 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 */