def reduce_max_gen_function_decl(func_attrs):
    """the registered function for generating reduce_max function declaration

    Parameters
    ----------
    func_attrs : Dict[str, Any]
        holds attributes of this reduce_max op

    Returns
    -------
    [type] : str
        returns the rendered function declaration with appropriate replacements
    """
    if _is_last_reduction_dim(func_attrs):
        return reduce_3d.gen_function_decl(func_attrs)
    else:
        return reduce_common.gen_function_decl(func_attrs)
the registered function for generating reduce_max function declaration

Parameters
----------
func_attrs : Dict[str, Any]
holds attributes of this reduce_max op

Returns
-------
[type] : str
returns the rendered function declaration with appropriate replacements
python/aitemplate/backend/cuda/reduce/reduce_max.py