Displaying 1 result from an estimated 1 matches for "llcorrel".
Did you mean:
correl
2018 Sep 20
2
Vectorization width not correct using #pragma clang loop vectorize_width
...n",corr[(M*M)-1]);
printf("Corr[0]: %lf\n",data[0]);
printf("Corr[(M*M)-1]: %lf\n",data[(M*M)-1]);
return 0;
}
*i m getting following output when i compiled;*
*clang -O3 correlation.c -Rpass=loop-vectorize -emit-llvm -march=knl
-S -o 1.llcorrelation.c:38:9: remark: vectorized loop (vectorization
width: 8, interleaved count: 4) [-Rpass=loop-vectorize] for (j = 0;
j < M; j++) ^correlation.c:41:5: remark: vectorized loop
(vectorization width: 8, interleaved count: 4) [-Rpass=loop-vectorize]
for (j = 0; j < M; j++) ^cor...