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
filter.c: pet_filter_insert_pma: drop unused variable
[pet.git]
/
tests
/
independent3.c
blob
2ce3609c5de60bb85c8afee1f765588ae20fa040
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
float
t
=
i
+
j
;
8
B
[
i
][
A
[
i
][
j
]] =
t
;
9
}
10
#pragma endscop
11
}