summaryrefslogtreecommitdiff
path: root/examples/chill/gemv.c
blob: 610d4cbd362e79d5c21e49f7c136884aa071b9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define N 10

int main() {
	// int n;
	float a[N];
	float b[N];
	float c[N][N];

	int i, j;

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

}