Hi, can I utilize MKL (or any other library) for the following operations?

for (int i=0; i<N; i++) y[i] = x[map[i]]

or

for (int i=0; i<N; i++) x[map[i]] += y[i]

The second operation looks impossible to parallelize using SSE or OpenMP, does it?

Thanks.