repo.or.cz
/
omega.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
petit: make argument of Write const
[omega.git]
/
petit
/
demo
/
example5.t
blob
b0ac7e9ab4001d8e207b8ffd0605b0fbfcf0c33f
1
auto real a(100)
2
inout real b(100,100)
3
!
4
! In this example, there is a flow dependence carried
5
! by the outer loop
6
!
7
integer n, m
8
for L1 = 1 to n do
9
for L2 = L1+1 to m do
10
a(L2) = a(L2-1) + b(L1,L2)
11
endfor
12
endfor