Displaying 1 result from an estimated 1 matches for "vectorizsed".
Did you mean:
vectorized
2017 Jun 27
3
LLVM Matrix Multiplication Loop Vectorizer
Hello,
i am trying to vectorize a simple matrix multiplication in llvm;
here is my code;
#include <stdio.h>
#define N 1000
// This function multiplies A[][] and B[][], and stores
// the result in C[][]
void multiply(int A[][N], int B[][N], int C[][N])
{
int i, j, k;
for (i = 0; i < N; i++)
{
for (j = 0; j < N; j++)
{
C[i][j] = 0;