From 0ce829691d20bf300d5980535f7fff49d1795bbd Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Thu, 30 Mar 2023 22:33:04 +0100 Subject: [PATCH] SWDEV-391878 - Add missing hipInit documentation Change-Id: Ib82328c844db2cd24c18d9199cb27abd115ceb51 --- include/hip/hip_runtime_api.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index e55cdff4a8..db5a403ba1 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1367,8 +1367,11 @@ typedef struct hipArrayMapInfo { * * Most HIP APIs implicitly initialize the HIP runtime. * This API provides control over the timing of the initialization. + * + * @param [in] flags Flags to init HIP runtime with, currently it must be 0 + * + * @returns #hipSuccess, #hipErrorInvalidValue */ -// TODO-ctx - more description on error codes. hipError_t hipInit(unsigned int flags); /** * @brief Returns the approximate HIP driver version.