scan.cc: compute_wrapping: use isl_val
[pet.git] / tests / matmul.c
blobf77ec58eef6922b02b3b7cbd196dd41db32124b8
1 void matmul(int M, int N, int K, float A[M][K], float B[K][N], float C[M][N])
3 int i, j, k;
5 #pragma scop
6 #pragma live-out C
7 for (i = 0; i < M; i++)
8 for (j = 0; j < N; j++) {
9 C[i][j] = 0;
10 for (k = 0; k < K; k++)
11 C[i][j] += A[i][k] * B[k][j];
13 #pragma endscop