Skip to content

LoopToMap Parallelizing Loops That Should Not Become Maps #2247

@ThrudPrimrose

Description

@ThrudPrimrose

LoopToMap parallelizes this loop taken from the tsvc 2 benchmark:

@dace.program
def dace_s2244(a: dace.float64[LEN_1D],
               b: dace.float64[LEN_1D],
               c: dace.float64[LEN_1D],
               e: dace.float64[LEN_1D]):

    for nl in range(ITERATIONS):
        for i in range(LEN_1D - 1):
            a[i + 1] = b[i] + e[i]
            a[i] = b[i] + c[i]

I have attached the SDFG as a JSON.

dace_s2244_ltm.sdfg.json

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