cubecl_hip_sys

Function hipGetFuncBySymbol

Source
pub unsafe extern "C" fn hipGetFuncBySymbol(
    functionPtr: *mut hipFunction_t,
    symbolPtr: *const c_void,
) -> hipError_t
Expand description

@brief Gets pointer to device entry function that matches entry function symbolPtr.

@param [out] functionPtr Device entry function @param [in] symbolPtr Pointer to device entry function to search for

@returns #hipSuccess, #hipErrorInvalidDeviceFunction