cubecl_hip_sys

Function hipFuncGetAttributes

Source
pub unsafe extern "C" fn hipFuncGetAttributes(
    attr: *mut hipFuncAttributes,
    func: *const c_void,
) -> hipError_t
Expand description

@brief Find out attributes for a given function.

@param [out] attr Attributes of funtion @param [in] func Pointer to the function handle

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction