8000 Split views bypass typechecker and allow incorrect loop unrolling · Issue #407 · cucapra/dahlia · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Split views bypass typechecker and allow incorrect loop unrolling #407
Open
@Mark1626

Description

@Mark1626

The following can be compiled

let C: float[32 bank 4];
split split_C = C[by 2];
for (let i=0..2) unroll 2 {
    for (let j=0..16) unroll 2 {
        split_C[i][j];
    }
}

---

for (let i=0..2) unroll 2 {
    for (let j=0..16) unroll 4 {
        split_C[i][j];
    }
}

---

for (let i=0..2) unroll 2 {
    for (let j=0..16) unroll 8 {
        split_C[i][j];
    }
}

---

for (let i=0..2) unroll 2 {
    for (let j=0..16) unroll 16 {
        split_C[i][j];
    }
}

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

      0