summaryrefslogtreecommitdiff
path: root/omega/examples/experiments/gemv/gemv.out
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/experiments/gemv/gemv.out
parent600fa18324c21a162c50c40ae5f00c899a41dd24 (diff)
downloadchill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.gz
chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.bz2
chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.zip
Added omega to source
Diffstat (limited to 'omega/examples/experiments/gemv/gemv.out')
-rw-r--r--omega/examples/experiments/gemv/gemv.out40
1 files changed, 40 insertions, 0 deletions
diff --git a/omega/examples/experiments/gemv/gemv.out b/omega/examples/experiments/gemv/gemv.out
new file mode 100644
index 0000000..b9dd445
--- /dev/null
+++ b/omega/examples/experiments/gemv/gemv.out
@@ -0,0 +1,40 @@
+>>> symbolic n, over1, over2;
+>>>
+>>> s0:= { [t1,t2,t3,t4,t5] : exists ( alpha,beta : t2 = 1+4beta && t4 = 1+4alpha && t1 = 1 && t3 = 1 && t5 = 0 && 0 <= over2 <= 3 && 0 <= over1 <= 3 && 1 <= t4 && 1 <= t2 && over1+t2 <= n && over2+t4 <= n) };
+>>> s1:= { [t1] : 1+t1 = 0 && 0 <= over2 <= 3 && 0 <= over1 <= 3 && 1 <= n };
+>>> s2:= { [t1,t2,t3,t4,t5] : t1 = 2 && t3 = 0 && t5 = 0 && 1 <= t2 <= n && 1 <= t4 <= n && 0 <= over2 <= 3 && over1 <= 3 && n < over1+t2 };
+>>> s3:= { [t1,t2,t3,t4,t5] : exists ( alpha,beta : t2 = 1+4beta && t4 = 1+4alpha && t1 = 1 && t3 = 1 && t5 = 1 && 0 <= over2 <= 3 && 0 <= over1 <= 3 && 1 <= t4 && 1 <= t2 && over1+t2 <= n && over2+t4 <= n) };
+>>> s4:= { [t1,t2,t3] : exists ( alpha : t2 = 1+4alpha && 1+t3 = 0 && t1 = 1 && 0 <= over1 <= 3 && 0 <= over2 <= 3 && over1+t2 <= n && 1 <= t2) };
+>>> s5:= { [t1,t2,t3,t4,t5] : exists ( alpha : t2 = 1+4alpha && t5 = 0 && t1 = 1 && t3 = 2 && 0 <= over1 <= 3 && 1 <= t4 <= n && over2 <= 3 && 1 <= t2 && over1+t2 <= n && n < over2+t4) };
+>>> s6:= { [t1,t2,t3,t4,t5] : exists ( alpha : t2 = 1+4alpha && t5 = 1 && t1 = 1 && t3 = 2 && 0 <= over1 <= 3 && 1 <= t4 <= n && over2 <= 3 && 1 <= t2 && over1+t2 <= n && n < over2+t4) };
+>>> s7:= { [t1,t2,t3,t4,t5] : exists ( alpha,beta : t2 = 1+4beta && t4 = 1+4alpha && t5 = 2 && t1 = 1 && t3 = 1 && 0 <= over1 <= 3 && 0 <= over2 <= 3 && 1 <= t4 && 1 <= t2 && over1+t2 <= n && over2+t4 <= n) };
+>>>
+>>> codegen s0,s1,s2,s3,s4,s5,s6,s7;
+if (over2 >= 0 && over1 <= 3 && over2 <= 3) {
+ if (over1 >= 0) {
+ if (n >= 1) {
+ s1(-1);
+ }
+ for(t2 = 1; t2 <= n-over1; t2 += 4) {
+ s4(1,t2,-1);
+ for(t4 = 1; t4 <= n-over2; t4 += 4) {
+ s0(1,t2,1,t4,0);
+ s3(1,t2,1,t4,1);
+ s7(1,t2,1,t4,2);
+ }
+ for(t4 = max(1,n-over2+1); t4 <= n; t4++) {
+ s5(1,t2,2,t4,0);
+ s6(1,t2,2,t4,1);
+ }
+ }
+ }
+ for(t2 = max(1,n-over1+1); t2 <= n; t2++) {
+ for(t4 = 1; t4 <= n; t4++) {
+ s2(2,t2,0,t4,0);
+ }
+ }
+}
+
+>>>
+>>>
+>>>