def gemm_gen_profiler(func_attrs, workdir, dim_info_dict):
    """Generates standalone executables for profiler.

    Parameters
    ----------
    func_attrs : Dict
        Operation attributes.
    workdir : str
        Directory to store the generated outputs.
    dim_info_dict: Dict[str, DimInfo]
        Generated from gemm._extract_dims().
        Used to store mapping between dim_names to input / output tensor dims.
    """
    return common.gen_profiler(
        func_attrs=func_attrs,
        workdir=workdir,
        dim_info_dict=dim_info_dict,
        args_parse=RRR.args_parse,
        gemm_flag="bias_permute",
        extra_code="const int G1={}, G2={}, G3={};".format(
            func_attrs["shape"][0],
            func_attrs["shape"][1],
            func_attrs["shape"][2],
        ),
        extra_shape_template=permute_common.EXTRA_SHAPE_TEMPLATE,
    )
Generates standalone executables for profiler.

    Parameters
    ----------
    func_attrs : Dict
        Operation attributes.
    workdir : str
        Directory to store the generated outputs.
    dim_info_dict: Dict[str, DimInfo]
        Generated from gemm._extract_dims().
        Used to store mapping between dim_names to input / output tensor dims.
    
python/aitemplate/backend/rocm/gemm/gemm_rrr_bias_permute.py