-
Notifications
You must be signed in to change notification settings - Fork 65
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
'make test' in examples/ssymm fails: 'tiled' output differs #42
Comments
This is the transformation found for 'tiled'. ../../polycc ssymm.c --noparallel --codegen-context=100 -o ssymm.tiled.c T(S1): (2, i, k, j) T(S2): (0, i, j, k) T(S3): (1, i, j, 0) [Pluto] After tiling: T(S2): (0, i/32, j/32, k/32, i, j, k) T(S3): (1, i/32, j/32, i, j, 0, 0) [Pluto] After intra-tile optimize T(S2): (0, i/32, j/32, k/32, i, j, k) T(S3): (1, i/32, j/32, i, j, 0, 0) [pluto] using statement-wise -fs/-ls options: S1(5,7), S2(5,7), S3(4,7), [pluto] Timing statistics |
The output of 'par' and 'tiled' match, but they both differ from that of 'orig'. |
This is a precision related issue likely associated with value unsafe optimizations. The error goes away with -O1. And even at -O3, the difference is for a small number of values and at the sixth decimal place. |
make[1]: Entering directory '/home/uday/git/pluto/examples/ssymm'
touch .test
./orig 2> out_orig
12.579868s
./tiled 2> out_tiled
3.264796s
diff -q out_orig out_tiled
Files out_orig and out_tiled differ
make[1]: *** [../common.mk:106: test] Error 1
The text was updated successfully, but these errors were encountered: