update test case outputs
[pet.git] / tests / decl.scop
blob0742322cad3e21edd2e9d64c10897dfb22bea14e
1 start: 95
2 end: 282
3 context: '[N, K, M] -> {  : K >= 0 and N >= 0 and N <= 2147483647 and K <= 2147483647
4   and M <= 2147483647 and M >= -2147483648 }'
5 arrays:
6 - context: '{  :  }'
7   extent: '[N, K, M] -> { t[] }'
8   element_type: float
9   element_size: 4
10   declared: 1
11 - context: '[K] -> {  : K >= 0 }'
12   extent: '[N, K, M] -> { A[i0, i1] : i1 >= 0 and i0 >= 0 and i1 <= -1 + K }'
13   element_type: float
14   element_size: 4
15 - context: '[N] -> {  : N >= 0 }'
16   extent: '[N, K, M] -> { B[i0, i1] : i1 >= 0 and i0 >= 0 and i1 <= -1 + N }'
17   element_type: float
18   element_size: 4
19 - context: '[N] -> {  : N >= 0 }'
20   extent: '[N, K, M] -> { C[i0, i1] : i1 >= 0 and i0 >= 0 and i1 <= -1 + N }'
21   element_type: float
22   element_size: 4
23 statements:
24 - line: 8
25   domain: '[N, K, M] -> { S_0[i, j] : j <= -1 + N and j >= 0 and i <= -1 + M and i
26     >= 0 }'
27   schedule: '[N, M] -> { S_0[i, j] -> [0, i, j, 0] }'
28   body:
29     type: binary
30     operation: =
31     arguments:
32     - type: access
33       relation: '[N, K, M] -> { S_0[i, j] -> C[i, j] }'
34       read: 0
35       write: 1
36     - type: access
37       relation: '[N, K, M] -> { S_0[i, j] -> [0] }'
38       read: 1
39       write: 0
40 - line: 10
41   domain: '[N, K, M] -> { S_1[i, j, k] : k <= -1 + K and k >= 0 and j <= -1 + N and
42     j >= 0 and i <= -1 + M and i >= 0 }'
43   schedule: '[K, N, M] -> { S_1[i, j, k] -> [0, i, j, 1, k, 0, 0] }'
44   body:
45     type: unary
46     operation: kill
47     arguments:
48     - type: access
49       relation: '[N, K, M] -> { S_1[i, j, k] -> t[] }'
50       read: 0
51       write: 0
52 - line: 10
53   domain: '[N, K, M] -> { S_2[i, j, k] : k <= -1 + K and k >= 0 and j <= -1 + N and
54     j >= 0 and i <= -1 + M and i >= 0 }'
55   schedule: '[K, N, M] -> { S_2[i, j, k] -> [0, i, j, 1, k, 0, 1] }'
56   body:
57     type: binary
58     operation: =
59     arguments:
60     - type: access
61       relation: '[N, K, M] -> { S_2[i, j, k] -> t[] }'
62       read: 0
63       write: 1
64     - type: binary
65       operation: '*'
66       arguments:
67       - type: access
68         relation: '[N, K, M] -> { S_2[i, j, k] -> A[i, k] }'
69         read: 1
70         write: 0
71       - type: access
72         relation: '[N, K, M] -> { S_2[i, j, k] -> B[k, j] }'
73         read: 1
74         write: 0
75 - line: 11
76   domain: '[N, K, M] -> { S_4[i, j, k] : k <= -1 + K and k >= 0 and j <= -1 + N and
77     j >= 0 and i <= -1 + M and i >= 0 }'
78   schedule: '[K, N, M] -> { S_4[i, j, k] -> [0, i, j, 1, k, 1] }'
79   body:
80     type: binary
81     operation: +=
82     arguments:
83     - type: access
84       relation: '[N, K, M] -> { S_4[i, j, k] -> C[i, j] }'
85       read: 1
86       write: 1
87     - type: access
88       relation: '[N, K, M] -> { S_4[i, j, k] -> t[] }'
89       read: 1
90       write: 0
91 - line: 10
92   domain: '[N, K, M] -> { S_3[i, j, k] : k <= -1 + K and k >= 0 and j <= -1 + N and
93     j >= 0 and i <= -1 + M and i >= 0 }'
94   schedule: '[K, N, M] -> { S_3[i, j, k] -> [0, i, j, 1, k, 2] }'
95   body:
96     type: unary
97     operation: kill
98     arguments:
99     - type: access
100       relation: '[N, K, M] -> { S_3[i, j, k] -> t[] }'
101       read: 0
102       write: 0