This sample probably made more sense back when it was written, but now it's not really guiding people toward doing the right thing.
Much more useful, I think would be rewriting it as a general purpose vectorization demo. Pick some sort of vectorization problem (probably something simple like a matrix multiply), and build an implementation for each of:
Neon intrinsics
Clang's arch-generic intrinsics
SVE
C++'s <algorithm> stuff, if the problem we pick is suitable for them
Plain old C++, letting the compiler autovectorize
And then the UI would show the benchmark results of each so people can see the differences.
This sample probably made more sense back when it was written, but now it's not really guiding people toward doing the right thing.
Much more useful, I think would be rewriting it as a general purpose vectorization demo. Pick some sort of vectorization problem (probably something simple like a matrix multiply), and build an implementation for each of:
<algorithm>
stuff, if the problem we pick is suitable for themAnd then the UI would show the benchmark results of each so people can see the differences.