Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_libpluto.c test 6: diamond tiling not performed #40

Open
bondhugula opened this issue May 12, 2019 · 0 comments
Open

test_libpluto.c test 6: diamond tiling not performed #40

bondhugula opened this issue May 12, 2019 · 0 comments

Comments

@bondhugula
Copy link
Owner

Although diamond tiling is clearly possible here, it's not being performed (the scalar dimension at the top likely confuses the detection).

$ ./test_libpluto
[...]
*** TEST CASE 6

[pluto] Diamond tiling not possible/useful
[pluto] Affine transformations

T(S1): (i0, i1+i2, i1)
loop types (loop, loop, loop)

Outermost tilable bands: 1 bands
(t1, t2, t3, ) with stmts {S1, }
Innermost tilable bands: 1 bands
(t1, t2, t3, ) with stmts {S1, }
[Pluto] After tiling:
T(S1): (i0/32, (i1+i2)/32, i1/32, i0, i1+i2, i1)
loop types (loop, loop, loop, loop, loop, loop)

[Pluto] After intra-tile optimize
T(S1): (i0/32, (i1+i2)/32, i1/32, i1+i2, i1, i0)
loop types (loop, loop, loop, loop, loop, loop)

[pluto_mark_parallel] 1 parallel loops
t1 {loop with stmts: S1, }

[pluto] Auto-transformation time: 0.002858s
[pluto] Other/Misc time: 0.008955s
[pluto] Total time: 0.011813s
[R, T] -> { S_0[i0, i1, i2] -> [o0, o1, o2, i1 + i2, i1, i0] : -31 + i0 <= 32o0 <= i0 and -31 + i1 + i2 <= 32o1 <= i1 + i2 and -31 + i1 <= 32o2 <= i1 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant