def gen_one_75_entry_from_80(
    db_conn: sqlite3.Connection,
    table: str,
    op_type: str,
    op_keys: str,
    algo: str = None,
):
    """generate sm75 entries based on the corresponding sm80 entries queried
    by the given op_type and op_keys.

    Parameters
    ----------
    db_conn: sqlite3.Connection
        sqlite3 Connection object
    table: str
        the table to be queried
    op_type: str
        op type in the query, e.g. gemm_rcr_bias
    op_keys: str
        op keys used to construct exec_hash_sh1 in the query, e.g. 2x3x4 for
        gemm-family op type
    algo: optional str
        if it's not None, the algo field will be filled with the specified algo
        string for the sm75 entry.

    Returns
    -------
    None
    """
    db_conn_cur = db_conn.cursor()
    entries = query_cache(
        db_conn_cur=db_conn_cur,
        table=table,
        op_type=op_type,
        op_keys=op_keys,
        query_template=DEFAULT_QUERY_TEMPLATE,
        algo=None,
        device="80",
    )
    if len(entries) == 0:
        _LOGGER.info("Could not find valid entries, skip")
        return

    column_names = get_column_names(db_conn_cur, table)

    if algo is not None:
        if len(entries) != 1:
            raise RuntimeError(
                "multiple entried found, which cannot be applied to a single algo"
            )
        insert_sm75_entry(db_conn, table, entries[0], column_names, algo)
        return

    for entry in entries:
        insert_sm75_entry(db_conn, table, entry, column_names, algo)
generate sm75 entries based on the corresponding sm80 entries queried
    by the given op_type and op_keys.

    Parameters
    ----------
    db_conn: sqlite3.Connection
        sqlite3 Connection object
    table: str
        the table to be queried
    op_type: str
        op type in the query, e.g. gemm_rcr_bias
    op_keys: str
        op keys used to construct exec_hash_sh1 in the query, e.g. 2x3x4 for
        gemm-family op type
    algo: optional str
        if it's not None, the algo field will be filled with the specified algo
        string for the sm75 entry.

    Returns
    -------
    None
    
tests/ci_profile_cache/update_cache.py