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
add pet_expr_map_top_down
[pet.git]
/
tests
/
independent4.c
blob
9b3beefd36388d9d58494507aced79252f7fcc29
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 with random qualifiers
6
for
(
int
j
=
0
;
j
<
n
; ++
j
)
7
B
[
i
][
A
[
i
][
j
]] =
i
+
j
;
8
#pragma endscop
9
}