sir,
i have successfully completed vectorization but i am not getting these points…
- why vectorization is fast?
- what is the benefit of vectorization?
sir,
i have successfully completed vectorization but i am not getting these points…
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.
Thank You