What you've learned

You should now know how to:

  • Use hardware features to tune your applications at function level.
  • Create multiple versions of C/C++ functions for the targets that you intend to run applications on.
  • Assist the compiler in generating optimal code for the targets, or provide your own optimized versions at source level.
  • Automatically select the most appropriate function version at runtime.
  • Reuse your optimized application binaries across various targets.

Knowledge Check

What is the main benefit of Function Multiversioning?

Can I implement versions of a function in separate translation units?

Under what circumstances will two targets, one with SVE2 and one with SVE, run the same version of a function?


Back
Next