W
Wolfgang Thomsen
Hello,
is there a way to convince the Intel compiler to (auto-)vectorize the
following?
double a[N], b[N];
int c[2N];
for(int i=0; i<N; i++) {
a = b[c[i*2]];
}
It does not vectorize presumably because c[] is a different data type than
a[] and b[].
Any help greatly appreciated!
Wolf
is there a way to convince the Intel compiler to (auto-)vectorize the
following?
double a[N], b[N];
int c[2N];
for(int i=0; i<N; i++) {
a = b[c[i*2]];
}
It does not vectorize presumably because c[] is a different data type than
a[] and b[].
Any help greatly appreciated!
Wolf