From 74ad4f0bd4beb4e3916c803f337c9dc72d358630 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 1803b16bbb..9efa8325d9 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1391,8 +1391,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.