I watched the recent Intel webinare on parallelization/vectorization and found extremely useful. I've been working through the K's of lines of code I'm responsble for, changing things when necessary to effect vectorization. One kind of simple task I've not been able to vectorize: packing an integer list to remove zeros. What I have now won't do:
if ( List(m) == 0 ) cycle
I have not been able to think of a better algorithm or procedure. Can anyone suggest something that could take advantage of vectorization?