summaryrefslogtreecommitdiff
path: root/test-chill/test-cases/examples/cuda-chill/mv-shadow.c
blob: 582b1874e4d5ee5358aca8a55224a091916dd316 (plain)
1
2
3
4
5
6
7
8
9
#define N 1024

void normalMV(float c[N][N], float a[N], float b[N]) {
  int i, j;

  for (i = 0; i < N; i++)
    for (j = 0; j < N; j++)
      a[i] = a[i] + c[j][i] * b[j];
}