summaryrefslogtreecommitdiffstats
path: root/polly/test/CodeGen/GPGPU/2d_innermost_parallel.c
blob: b6397d194290693cc1b4f44e5a65cec49aae9cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int A[128][128];

int gpu_pure() {
  int i,j;

  for(i = 0; i < 128; i++)
    for(j = 0; j < 128; j++)
      A[i][j] = i*128 + j;

  return 0;
}

int main() {
  int b = gpu_pure();
  return 0;
}
OpenPOWER on IntegriCloud