summaryrefslogtreecommitdiff
path: root/omegalib/examples/old_test/m10.oc-rt
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:52:51 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:52:51 -0600
commit372c92e7c1901dd7bdd1d2fd48bff205c31dca2d (patch)
tree439073a6481f50b26e2e881999cc568619628987 /omegalib/examples/old_test/m10.oc-rt
parent62f7acd88465f4f20b9b25c3f7edd4e3b7ce453b (diff)
downloadchill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.gz
chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.bz2
chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.zip
remove omegacalc as subproject
Diffstat (limited to 'omegalib/examples/old_test/m10.oc-rt')
-rw-r--r--omegalib/examples/old_test/m10.oc-rt47
1 files changed, 0 insertions, 47 deletions
diff --git a/omegalib/examples/old_test/m10.oc-rt b/omegalib/examples/old_test/m10.oc-rt
deleted file mode 100644
index c782e1d..0000000
--- a/omegalib/examples/old_test/m10.oc-rt
+++ /dev/null
@@ -1,47 +0,0 @@
->>> IS:={[i,j]: 1 <= i,j <= 9};
->>> T1:={[i,j]->[4j,i,0]};
->>> T2:={[i,j]->[2j,i,1]};
->>> codegen T1:IS,T2:IS;
-for(t1 = 2; t1 <= 36; t1 += 2) {
- if (intMod(t1,4) == 0 && t1 <= 16) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t2,intDiv(t1,4));
- s2(t2,intDiv(t1,2));
- }
- }
- if (intMod(t1,4) == 0 && t1 >= 20) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t2,intDiv(t1,4));
- }
- }
- if (intMod(t1-2,4) == 0 && t1 <= 18) {
- for(t2 = 1; t2 <= 9; t2++) {
- s2(t2,intDiv(t1,2));
- }
- }
-}
-
->>> codegen 2 T1:IS,T2:IS;
-for(t1 = 2; t1 <= 16; t1 += 2) {
- if (intMod(t1,4) == 0) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t2,intDiv(t1,4));
- s2(t2,intDiv(t1,2));
- }
- }
- if (intMod(t1-2,4) == 0) {
- for(t2 = 1; t2 <= 9; t2++) {
- s2(t2,intDiv(t1,2));
- }
- }
-}
-for(t2 = 1; t2 <= 9; t2++) {
- s2(t2,9);
-}
-for(t1 = 20; t1 <= 36; t1 += 4) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t2,intDiv(t1,4));
- }
-}
-
-