diff options
Diffstat (limited to 'test/uday_scalars.cloog')
-rw-r--r-- | test/uday_scalars.cloog | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test/uday_scalars.cloog b/test/uday_scalars.cloog new file mode 100644 index 0000000..8da09d4 --- /dev/null +++ b/test/uday_scalars.cloog @@ -0,0 +1,58 @@ +# Langage: C +c + +# Context (1 parameter) +# no constraints on parameters: +1 3 + 1 0 1 +1 # Parameter name(s) +n + +# Statement number: +2 + +# Iteration domain of statement 1. +1 # 1 domain +4 6 # 4 lines and 6 columns +# j l m n cst + 1 1 0 0 0 0 # j >= 0 + 1 -1 0 0 1 0 # j <= N + 0 0 1 0 0 0 # l = 0 + 0 0 0 1 0 0 # m = 0 +0 0 0 # For future options. + +# Iteration domain of statement 2. +1 # 1 domain +4 6 # 4 lines and 6 columns +# j l m n cst + 1 0 1 0 0 0 # l >= 0 + 1 0 -1 0 1 0 # l <= N + 0 1 0 0 0 0 # j = 0 + 0 0 0 1 0 0 # m = 0 +0 0 0 # For future options. + + +1 # Iterator name(s) +j l m + +# 1 scattering functions. +2 +# First function +4 10 +# p1 p2 p3 p4 j l m n cst + 0 1 0 0 0 0 0 0 0 0 # p1 = 0 + 0 0 1 0 0 0 0 0 0 -1 # p2 = 1 + 0 0 0 1 0 -1 0 0 0 0 # p3 = j + 0 0 0 0 1 0 0 0 0 0 # p4 = 0 + +# Second function +4 10 +# p1 p2 p3 p4 j l m n cst + 0 1 0 0 0 0 0 0 0 -1 # p1 = 1 + 0 0 1 0 0 0 0 0 0 0 # p2 = 0 + 0 0 0 1 0 0 -1 0 0 0 # p3 = l + 0 0 0 0 1 0 0 0 0 -1 # p4 = 1 + +1 # set scattering dimension names manually +p1 p2 p3 p4 + |