cubecl_hip_sys

Function hipFuncGetAttribute

Source
pub unsafe extern "C" fn hipFuncGetAttribute(
    value: *mut c_int,
    attrib: hipFunction_attribute,
    hfunc: hipFunction_t,
) -> hipError_t
Expand description

@brief Find out a specific attribute for a given function.

@param [out] value Pointer to the value @param [in] attrib Attributes of the given funtion @param [in] hfunc Function to get attributes from

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction