In the section "The Loop Body Should Be Straight-Line Code", the first and 
second code example look identical with ifelse constructions. I assume the 
first one should use ? instead. Also the third code example has a stray 
x[i]<a argument to the max function.

Den måndagen den 15:e september 2014 kl. 23:39:20 UTC+2 skrev Arch Robison:
>
> I've posted an article on the @simd feature to 
> https://software.intel.com/en-us/articles/vectorization-in-julia .   
> @simd is an experimental feature 
> <http://julia.readthedocs.org/en/release-0.3/manual/performance-tips/#performance-annotations>
>  
> in Julia 0.3 that gives the compiler more latitude to .vectorize loops.   
> Corrections/suggestions appreciated.
>
> - Arch D. Robison
>   Intel Corporation
>

Reply via email to