summaryrefslogtreecommitdiff
path: root/cloog-0.17.0/test/uday_scalars.cloog
blob: 8da09d441c159612a72e3503034829dd40f002ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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