Vectorization and Features #7643
-
Hi Hiladians, Forgive my rather n00bish question here, but I want to learn... I've noticed the following. When creating a Target from scratch with no features, for example 'Win-x86-64bit', what does the vectorize() method do?
No Features for vectorizing where enabled. Yet it goes up to +15% faster if the What is going on here? Thx in advance for some clarifications. Regards, Doubl3MD |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Update: While testing other pipes. The speed gains are sometimes up to 50% and more... probably depending on what the algo is doing. |
Beta Was this translation helpful? Give feedback.
-
Halide assumes that all x86 targets have (at least) SSE2 as a baseline; that provides some modest but nonzero vectorization opportunity. Could that be what you are seeing? |
Beta Was this translation helpful? Give feedback.
-
That is indeed what I'm seeing. The algo's I tested showed improvements in line with what sse2 offers. |
Beta Was this translation helpful? Give feedback.
Halide assumes that all x86 targets have (at least) SSE2 as a baseline; that provides some modest but nonzero vectorization opportunity. Could that be what you are seeing?