summaryrefslogtreecommitdiff
path: root/omega/examples/old_test/lu_ijk
diff options
context:
space:
mode:
authordhuth <derickhuth@gmail.com>2014-10-06 11:56:47 -0600
committerdhuth <derickhuth@gmail.com>2014-10-06 11:56:47 -0600
commite4b20015a4ee35f1279af4caa983478fa2ff0d4a (patch)
treef47cbff8b2bba458b54a739e91a87b303f7665f1 /omega/examples/old_test/lu_ijk
parent600fa18324c21a162c50c40ae5f00c899a41dd24 (diff)
downloadchill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.gz
chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.bz2
chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.zip
Added omega to source
Diffstat (limited to 'omega/examples/old_test/lu_ijk')
-rw-r--r--omega/examples/old_test/lu_ijk17
1 files changed, 17 insertions, 0 deletions
diff --git a/omega/examples/old_test/lu_ijk b/omega/examples/old_test/lu_ijk
new file mode 100644
index 0000000..5f60bfa
--- /dev/null
+++ b/omega/examples/old_test/lu_ijk
@@ -0,0 +1,17 @@
+symbolic n,lb,ub;
+I5 := {[k,j] : 1 <= k < j <= n};
+I7 := {[k,j,i] : 1 <= k < j,i <= n};
+T5 := {[k,j] -> [k,j,1,0]};
+T7 := {[k,j,i] -> [i,j,0,k]};
+D57 := {[k,j] -> [k,j,i] : 1 <= k < j,i <= n};
+D75 := {[k,j,k+1] -> [k+1,j] : 1 <= k <= j-2 && j <= n} union
+ {[k,k+1,k+1] -> [k+1,j'] : 1 <= k <= j'-2 && j' <= n};
+D77 := {[k,j,i] -> [k+1,j,i] : 1 <= k <= i-2, j-2 && j <= n && i <= n}
+ union
+ {[k,k+1,i] -> [k+1,j',i] : 1 <= k <= i-2, j'-2 && j' <= n && i <= n};
+difference ( (inverse T5) join D57 join T7 );
+difference ( (inverse T7) join D75 join T5 );
+difference ( (inverse T7) join D77 join T7 );
+codegen T5:I5,T7:I7;
+codegen 2 T5:I5,T7:I7;
+codegen 3 T5:I5,T7:I7;