PDA

View Full Version : regarding some problems



chiraga213
01-27-2013, 11:00 PM
sir,
i have successfully completed vectorization but i am not getting these points..
1) why vectorization is fast?
2) what is the benefit of vectorization?

chippies
01-28-2013, 10:37 AM
Why is vectorisation fast: lets say your CPU can process vectors of 4 float values in a single instruction. That means 4 operations get done at once. If you don't vectorise your code then the CPU defaults to processing only 1 float in an instruction. That's why vectorisation makes your code faster.

chiraga213
01-29-2013, 11:49 PM
Thank You :D