1. How do you activate High Level Optimizations
with the Intel® Compilers?
2. Why can't the loop in the following function
vectorize or Software PipeLine?
void afunc(int *A, int *B) { int i,C=0; for (i=0;i<3;i++) { A[i]
= 3 * A[i] + B[i] + C; C = 2 * B[i]; } }
1) Pointer A has a Read After Write dependency
2) Pointers A and B are ambiguous
3) Variable C has a loop carried dependency
4) Variable C and Pointer A are ambiguous