Vectorization

What is a stride-1 array reference?

Also, which of your whitepapers on your website discusses program vectorization? Does it have complete examples in c?

It your website has no examples in c then what website does or where can I find them?

Any help appreciated.

THX 1138

Hi Newport_j,

What is a stride-1 array reference?

The array section is contiguous in memory.

Also, which of your whitepapers on your website discusses program vectorization? Does it have complete examples in c?

This one has a nice section about Vectorization. http://www.pgroup.com/lit/articles/pgi_article_tuning.pdf. Though, it does not have a complete code example. It’s also a bit old so doesn’t include AVX.
For AVX, see this article, http://www.pgroup.com/lit/articles/insider/v3n2a4.htm.

  • Mat