Skip to content

Commit

Permalink
SWDEV-391878 - Add missing hipInit documentation
Browse files Browse the repository at this point in the history
Change-Id: Ib82328c844db2cd24c18d9199cb27abd115ceb51
  • Loading branch information
cjatin committed Aug 15, 2023
1 parent b8965f1 commit 74ad4f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 74ad4f0

Please sign in to comment.