Function hip_sys::hiprt::hipFuncGetAttribute
source · pub unsafe extern "C" fn hipFuncGetAttribute(
value: *mut i32,
attrib: hipFunction_attribute,
hfunc: *mut ihipModuleSymbol_t
) -> hipError_tExpand description
@brief Find out a specific attribute for a given function.
@param [out] value @param [in] attrib @param [in] hfunc
@returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidDeviceFunction