repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pet 0.11.8
[pet.git]
/
tests
/
independent1.c
blob
1d424adbcdcaf7e0209e6bfcba8eba4f4ac6c866
1
void
foo
(
int
n
,
int
A
[
n
][
n
],
int
B
[
n
][
n
])
2
{
3
#pragma scop
4
for
(
int
i
=
0
;
i
<
n
; ++
i
)
5
#pragma pencil independent
6
for
(
int
j
=
0
;
j
<
n
; ++
j
)
7
B
[
i
][
A
[
i
][
j
]] =
i
+
j
;
8
#pragma endscop
9
}