buildtools/cloog/test/uday_scalars.cloog
Jerome Duval 5873a060ca imported PPL 0.11.1 and CLooG 0.18.0.
* these are dependencies for gcc 4 Graphite engine build.
* CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables.
* PPL is needed by GCC build even if it isn't the chosen backend.
2013-04-06 15:10:34 +02:00

59 lines
1.5 KiB
Plaintext

# 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