summaryrefslogtreecommitdiff
path: root/test-chill/test-cases/examples/cuda-chill/mv_try.c
blob: 7781f3b28b94c8b9519affade8e3a20d52927618 (plain)
1
2
3
4
5
6
7
8
9
#define N 4096

void normalMV(int n, 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[i][j] * b[j];
}