Lines Matching refs:k
218 for (int k = 0; k < M; k++) { in doMatrixMultiplication() local
219 sum[k] = 0; in doMatrixMultiplication()
224 for (int k = 0; k < n; k++) { in doMatrixMultiplication() local
225 float a = A[i * n + k]; in doMatrixMultiplication()
226 sum[0] += a * B[k * n + j]; in doMatrixMultiplication()
227 sum[1] += a * B[k * n + j + 1]; in doMatrixMultiplication()
228 sum[2] += a * B[k * n + j + 2]; in doMatrixMultiplication()
229 sum[3] += a * B[k * n + j + 3]; in doMatrixMultiplication()
230 sum[4] += a * B[k * n + j + 4]; in doMatrixMultiplication()
231 sum[5] += a * B[k * n + j + 5]; in doMatrixMultiplication()
232 sum[6] += a * B[k * n + j + 6]; in doMatrixMultiplication()
233 sum[7] += a * B[k * n + j + 7]; in doMatrixMultiplication()
235 for (int k = 0; k < M; k++) { in doMatrixMultiplication() local
236 C[i * n + j + k] = sum[k]; in doMatrixMultiplication()