scop.c: extract out shared drop_arguments
[pet.git] / tests / decl.c
blob7aa7348b57bb42509a814e57073d9502270ab8c7
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 for (i = 0; i < M; i++)
7 for (j = 0; j < N; j++) {
8 C[i][j] = 0;
9 for (k = 0; k < K; k++) {
10 float t = A[i][k] * B[k][j];
11 C[i][j] += t;
14 #pragma endscop