cubecl_hip_sys

Function hipModuleGetFunction

Source
pub unsafe extern "C" fn hipModuleGetFunction(
    function: *mut hipFunction_t,
    module: hipModule_t,
    kname: *const c_char,
) -> hipError_t
Expand description

@brief Function with kname will be extracted if present in module

@param [in] module Module to get function from @param [in] kname Pointer to the name of function @param [out] function Pointer to function handle

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidContext, #hipErrorNotInitialized, #hipErrorNotFound,