Function hip_runtime_sys::hipFuncGetAttribute
source · pub unsafe extern "C" fn hipFuncGetAttribute(
value: *mut c_int,
attrib: hipFunction_attribute,
hfunc: hipFunction_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