add pet_expr_map_top_down
[pet.git] / tests / independent4.c
blob9b3beefd36388d9d58494507aced79252f7fcc29
1 void foo(int n, int A[n][n], int B[n][n])
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