Skip to content

Simplify Doing Weird Stuff? #7

@ThrudPrimrose

Description

@ThrudPrimrose

Stage 1 SDFG:

Image

Stage 2 SDFG:

Image

tmp_call_18 is replaced with some random value. Output is incorrect.
In Stage 2 we apply:

        sdfg.apply_transformations_repeated(LoopToMap, permissive=True)
        count_symbols_use_defs(sdfg, verbose=verbose, use_assert=True)
        sdfg.simplify(skip=["ArrayElimination", "InlineSDFG"])
        sdfg.apply_transformations_repeated(MapCollapse)
        sdfg.simplify(skip=["ArrayElimination", "InlineSDFG"])

        if use_cache:
            sdfg.save(f"cpu_{sdfg_name}_stage2.sdfgz", compress=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions