cubecl_hip_sys

Function hipInit

Source
pub unsafe extern "C" fn hipInit(flags: c_uint) -> hipError_t
Expand description

@} / /** @defgroup API HIP API @{

Defines the HIP API. See the individual sections for more information. / /** @defgroup Driver Initialization and Version @{ This section describes the initializtion and version functions of HIP runtime API.

/ /** @brief Explicitly initializes the HIP runtime.

@param [in] flags Initialization flag, should be zero.

Most HIP APIs implicitly initialize the HIP runtime. This API provides control over the timing of the initialization.

@returns #hipSuccess, #hipErrorInvalidValue