cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
7,175 Views
Registered: ‎08-26-2014

What the automatic vectorization compiler option actually does?

Hello,

 

How is it possible that using the vectorization option on the compiler it reduces the execution time of my algorithm from 1us to 500ns?

 

What this option actually does and why it does not do it automatically for every compilation?

 

Thanks.

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
6,885 Views
Registered: ‎07-31-2012

Hi,

 

I have attached an example with explanation of compiler options for automatic vectorization.

Hope this will help you.

 

Regards

Praveen

 

-----------------------------------------------------------------------------------------------
Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos