From cd7252f82dccbd138e0dd5acc6ca058797b54827 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Thu, 10 Jun 2021 14:59:13 -0400 Subject: [PATCH] SWDEV-290704 - Add HIPrtc doxygen in API headers Change-Id: I629bdeaef7a01aec45bb9453d883213c73008d1c [ROCm/hip commit: 470f3e521c8a93d97bfd1770f852bf35be7f65e5] --- .../include/hip/amd_detail/hip_runtime_api.h | 21 ++++++++++++++----- projects/hip/include/hip/hip_runtime_api.h | 21 ++++++++++++++----- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/projects/hip/include/hip/amd_detail/hip_runtime_api.h b/projects/hip/include/hip/amd_detail/hip_runtime_api.h index 5c5eb97b63..fe9bed752f 100644 --- a/projects/hip/include/hip/amd_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/amd_detail/hip_runtime_api.h @@ -3765,7 +3765,7 @@ hipError_t hipExtLaunchKernel(const void* function_address, dim3 numBlocks, dim3 /** *------------------------------------------------------------------------------------------------- *------------------------------------------------------------------------------------------------- - * @defgroup Textur Texture Management + * @defgroup Texture Texture Management * @{ * This section describes the texture management functions of HIP runtime API. */ @@ -4005,6 +4005,21 @@ hipError_t hipMipmappedArrayGetLevel( hipArray_t* pLevelArray, hipMipmappedArray_t hMipMappedArray, unsigned int level); +/** + *------------------------------------------------------------------------------------------------- + *------------------------------------------------------------------------------------------------- + * @defgroup Runtime Runtime Compilation + * @{ + * This section describes the runtime compilation functions of HIP runtime API. + * + */ + +// This group is for HIPrtc + +// doxygen end Runtime +/** + * @} + */ /** * Callback/Activity API @@ -4341,10 +4356,6 @@ static inline hipError_t hipUnbindTexture( return hipUnbindTexture(&tex); } -// doxygen end Texture -/** - * @} - */ #endif // __cplusplus diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 6657c265a1..1fbe2a5b12 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -3807,7 +3807,7 @@ hipError_t hipExtLaunchKernel(const void* function_address, dim3 numBlocks, dim3 /** *------------------------------------------------------------------------------------------------- *------------------------------------------------------------------------------------------------- - * @defgroup Textur Texture Management + * @defgroup Texture Texture Management * @{ * This section describes the texture management functions of HIP runtime API. */ @@ -4000,6 +4000,21 @@ hipError_t hipMipmappedArrayGetLevel( hipArray_t* pLevelArray, hipMipmappedArray_t hMipMappedArray, unsigned int level); +/** + *------------------------------------------------------------------------------------------------- + *------------------------------------------------------------------------------------------------- + * @defgroup Runtime Runtime Compilation + * @{ + * This section describes the runtime compilation functions of HIP runtime API. + * + */ +// This group is for HIPrtc + +// doxygen end Runtime +/** + * @} + */ + /** * Callback/Activity API */ @@ -4287,10 +4302,6 @@ static inline hipError_t hipUnbindTexture( { return hipUnbindTexture(&tex); } -// doxygen end Texture -/** - * @} - */ #endif // __cplusplus #ifdef __GNUC__ #pragma GCC visibility pop