Open main menu

CDOT Wiki β

Changes

SPO600 Vectorization Lab

185 bytes added, 12:52, 2 October 2019
no edit summary
[[Category:SPO600 Labs- Retired]]
{{Admon/lab|Purpose of this Lab|This lab is designed to explore single instruction/multiple data (SIMD) vectorization, and the auto-vectorization capabilities of the GCC compiler.}}
{{Admon/tip|Tiny Lab|This is intended to be a very short lab. Don't overcomplicate it!}}
{{Admon/important|This lab is not used in the current semester.|Please refer to the other labs in the [[:Category:SPO600 Labs|SPO600 Labs]] category.}}
 == Optional Lab 6 (Recommended!) ==
# Write a short program that creates two 1000-element integer arrays and fills them with random numbers in the range -1000 to +1000, then sums those two arrays element-by-element to a third array, and finally sums the third array and prints the result.