What you've learned

You should now know how to:

  • Comprehend the importance of data layout when writing SIMD code

Knowledge Check

Which is the most important factor when considering optimal data layout for SIMD?

Which data layout is a better fit for SIMD?

How many elements are unused in a 128-bit SIMD vector when storing 3D positional information (coordinates x,y,z) as 32-bit floats?

Similarly to the previous question, what would the percentage be if we used 64-bit floats to store the information in a 256-bit vector?


Back
Next