Skip to content

Commit 74ad4f0

Browse files
committed
SWDEV-391878 - Add missing hipInit documentation
Change-Id: Ib82328c844db2cd24c18d9199cb27abd115ceb51
1 parent b8965f1 commit 74ad4f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/hip/hip_runtime_api.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -1391,8 +1391,11 @@ typedef struct hipArrayMapInfo {
13911391
*
13921392
* Most HIP APIs implicitly initialize the HIP runtime.
13931393
* This API provides control over the timing of the initialization.
1394+
*
1395+
* @param [in] flags Flags to init HIP runtime with, currently it must be 0
1396+
*
1397+
* @returns #hipSuccess, #hipErrorInvalidValue
13941398
*/
1395-
// TODO-ctx - more description on error codes.
13961399
hipError_t hipInit(unsigned int flags);
13971400
/**
13981401
* @brief Returns the approximate HIP driver version.

0 commit comments

Comments
 (0)