diff options
author | dhuth <derickhuth@gmail.com> | 2014-10-06 11:56:47 -0600 |
---|---|---|
committer | dhuth <derickhuth@gmail.com> | 2014-10-06 11:56:47 -0600 |
commit | e4b20015a4ee35f1279af4caa983478fa2ff0d4a (patch) | |
tree | f47cbff8b2bba458b54a739e91a87b303f7665f1 /omega/examples/old_test/lu_spmd | |
parent | 600fa18324c21a162c50c40ae5f00c899a41dd24 (diff) | |
download | chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.gz chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.tar.bz2 chill-e4b20015a4ee35f1279af4caa983478fa2ff0d4a.zip |
Added omega to source
Diffstat (limited to 'omega/examples/old_test/lu_spmd')
-rw-r--r-- | omega/examples/old_test/lu_spmd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/omega/examples/old_test/lu_spmd b/omega/examples/old_test/lu_spmd new file mode 100644 index 0000000..6587ef0 --- /dev/null +++ b/omega/examples/old_test/lu_spmd @@ -0,0 +1,19 @@ +symbolic n,lb,ub; +I1 := {[k,i] : 1 <= k < i <= n && lb <= k <= ub}; +I2 := {[k,i,j] : 1 <= k <= i,j <= n && lb <= j <= ub}; +p := {[k,i] : 1, lb <= k <= ub < n && k < i <= n}; +w := {[k,i,j,k,i] : 1 <= k <= i,j <= n && k < lb = j <= ub}; + +T1 := {[k,i] -> [k,i,0,0,0,0,0,0]}; +T2 := {[k,i,j] -> [k,i,1,j,0,0,0,0]}; +Tp := {[k,i] -> [k,i,0,0,1,0,0,0]}; +Tw := {[k,i,j,t1,t2] -> [k,i,1,j,-1,t1,t2,0]}; + +known := {[*,*,*,*,*,*,*,*] : 1 <= lb && ub <= n}; +known2 := {[*,*,*,*,*,*,*,*] : 1 <= lb <= ub <= n}; + +codegen 0 T1:I1,T2:I2,Tp:p,Tw:w given known; +codegen 1 T1:I1,T2:I2,Tp:p,Tw:w given known; +# codegen 2 T1:I1,T2:I2,Tp:p,Tw:w given known; +# codegen 1 T1:I1,T2:I2,Tp:p,Tw:w given known2; +# codegen 2 T1:I1,T2:I2,Tp:p,Tw:w given known2; |