summaryrefslogtreecommitdiff
path: root/cloog-core/test/sor1d.cloog
diff options
context:
space:
mode:
Diffstat (limited to 'cloog-core/test/sor1d.cloog')
-rw-r--r--cloog-core/test/sor1d.cloog256
1 files changed, 256 insertions, 0 deletions
diff --git a/cloog-core/test/sor1d.cloog b/cloog-core/test/sor1d.cloog
new file mode 100644
index 0000000..ba1ca70
--- /dev/null
+++ b/cloog-core/test/sor1d.cloog
@@ -0,0 +1,256 @@
+# created: Thu Dec 17 16:41:33 CET 2009
+# ---------------------- CONTEXT ----------------------
+c # language is C
+
+# Context
+2 4
+ 1 1 0 0
+ 1 0 1 0
+
+
+1 # set parameter names
+M N
+
+# --------------------- STATEMENTS --------------------
+4
+
+# 1 computation stmts:
+1 # domains per statement
+19 8
+ 1 -100 0 2 1 0 0 -4
+ 1 0 0 0 1 0 0 -2
+ 1 100 0 -2 -1 0 0 103
+ 1 0 0 0 -1 0 1 -1
+ 1 0 0 1 0 0 0 -1
+ 1 0 -100 1 0 0 0 0
+ 1 -100 0 2 0 0 1 -5
+ 1 0 0 -1 0 1 0 0
+ 1 0 100 -1 0 0 0 99
+ 1 100 0 -2 0 0 0 101
+ 1 0 50 0 0 0 0 49
+ 1 -100 200 0 0 0 1 193
+ 1 0 -100 0 0 1 0 0
+ 1 100 -200 0 0 0 0 101
+ 1 100 0 0 0 0 0 99
+ 1 -100 0 0 0 2 1 -5
+ 1 0 0 0 0 0 1 -3
+ 1 0 0 0 0 2 1 94
+ 1 0 0 0 0 1 0 -1
+
+
+0 0 0 # for future options...
+
+
+# 1 prepare-send stmts:
+1 # domains per statement
+57 9
+ 1 0 -200 0 2 1 0 0 -3
+ 1 0 0 0 2 1 0 0 -5
+ 1 -100 0 0 2 1 0 0 -4
+ 1 0 0 0 0 1 0 0 -3
+ 1 0 200 0 -2 -1 0 1 197
+ 1 0 0 0 -2 -1 2 1 -3
+ 1 100 0 0 -2 -1 0 0 103
+ 1 0 0 0 0 -1 0 1 -1
+ 1 0 0 -100 1 0 0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 0 0 0 0 2 5 75
+ 1 0 0 0 0 0 1 0 -2
+
+
+0 0 0 # for future options...
+
+
+# 1 prepare-receive stmts:
+1 # domains per statement
+57 9
+ 1 0 -200 0 2 1 0 0 -3
+ 1 0 0 0 2 1 0 0 -5
+ 1 -100 0 0 2 1 0 0 -4
+ 1 0 0 0 0 1 0 0 -3
+ 1 0 200 0 -2 -1 0 1 197
+ 1 0 0 0 -2 -1 2 1 -3
+ 1 100 0 0 -2 -1 0 0 103
+ 1 0 0 0 0 -1 0 1 -1
+ 1 0 0 -100 1 0 0 0 1
+ 1 0 -100 0 1 0 0 0 0
+ 1 0 0 0 1 0 0 0 -1
+ 1 0 -200 0 2 0 0 1 -4
+ 1 0 0 0 2 0 0 1 -6
+ 1 -100 0 0 2 0 0 1 -5
+ 1 0 0 100 -1 0 0 0 98
+ 1 0 100 0 -1 0 0 0 99
+ 1 0 0 0 -1 0 1 0 -1
+ 1 0 200 0 -2 0 0 1 194
+ 1 0 0 0 -2 0 2 1 -6
+ 1 50 0 0 -1 0 0 0 50
+ 1 0 -1 1 0 0 0 0 -1
+ 1 0 0 100 0 0 0 0 97
+ 1 0 -200 200 0 0 0 1 192
+ 1 0 0 200 0 0 0 1 190
+ 1 -100 0 200 0 0 0 1 191
+ 1 0 1 -1 0 0 0 0 1
+ 1 0 0 -100 0 0 1 0 0
+ 1 0 200 -200 0 0 0 1 196
+ 1 0 0 -200 0 0 2 1 -4
+ 1 50 0 -100 0 0 0 0 51
+ 1 -100 200 0 0 0 0 2 189
+ 1 -100 200 0 0 0 0 1 193
+ 1 0 100 0 0 0 0 1 94
+ 1 0 200 0 0 0 0 1 192
+ 1 0 50 0 0 0 0 0 49
+ 1 100 -200 0 0 0 0 1 96
+ 1 0 -100 0 0 0 1 1 -5
+ 1 0 -100 0 0 0 1 0 -100
+ 1 0 -200 0 0 0 2 1 -204
+ 1 50 -100 0 0 0 0 0 -49
+ 1 50 0 0 0 0 0 0 49
+ 1 100 0 0 0 0 0 1 94
+ 1 100 0 0 0 0 0 3 284
+ 1 50 0 0 0 0 0 1 45
+ 1 -100 0 0 0 0 2 1 -7
+ 1 -100 0 0 0 0 2 2 -11
+ 1 -100 0 0 0 0 2 4 179
+ 1 -100 0 0 0 0 2 3 -15
+ 1 0 0 0 0 0 2 1 -8
+ 1 0 0 0 0 0 2 3 -16
+ 1 0 0 0 0 0 1 1 -6
+ 1 0 0 0 0 0 0 1 -4
+ 1 0 0 0 0 0 2 4 79
+ 1 0 0 0 0 0 2 7 463
+ 1 0 0 0 0 0 2 6 269
+ 1 0 0 0 0 0 2 5 75
+ 1 0 0 0 0 0 1 0 -2
+
+
+0 0 0 # for future options...
+
+
+# 1 communication stmts:
+1 # domains per statement
+21 5
+ 1 200 0 3 781
+ 1 200 0 1 391
+ 1 200 0 4 1075
+ 1 100 0 1 392
+ 1 100 0 0 197
+ 1 -200 6 5 377
+ 1 -200 6 6 671
+ 1 -100 3 2 190
+ 1 -200 6 3 -13
+ 1 -100 3 1 -5
+ 1 0 2 3 484
+ 1 0 1 1 95
+ 1 0 3 1 192
+ 1 0 3 5 873
+ 1 0 3 2 189
+ 1 0 6 7 1062
+ 1 0 6 5 771
+ 1 0 3 4 579
+ 1 0 0 1 -3
+ 1 0 2 1 -5
+ 1 0 1 0 -1
+
+
+0 0 0 # for future options...
+
+
+
+1 # set the iterator names
+tileT1 tileP1 other1 other2 other3 other4 other5
+
+# --------------------- SCATTERING --------------------
+4 # Scattering functions
+9 17
+ 0 1 0 -1 0 0 0 0 0 0 -1 0 0 0 0 0 0
+ 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 0 0
+ 0 0 0 0 1 0 0 0 0 0 0 0 -2 -1 0 0 4
+ 0 0 0 0 0 1 0 0 0 0 0 0 -1 0 0 0 0
+ 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 -1
+ 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
+ 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