Abstract: In Chapter 3, you learned how to carry out elementary arithmetic using packed floating-point operands and AVX C++ SIMD intrinsic functions. You also learned how to code simple SIMD functions that performed computations using the elements of a floating-point array or matrix. In this chapter, you will study source code examples that perform floating-point calculations using AVX2 and C++ SIMD intrinsic functions. The first section highlights an array-based algorithm that demonstrates a least-squares calculation using double-precision SIMD arithmetic. The second section includes several examples that illustrate how to perform common matrix arithmetic using either packed single-precision or double-precision floating-point operands. As you will soon see, SIMD techniques are suitable for matrix arithmetic.
Publication Year: 2022
Publication Date: 2022-01-01
Language: en
Type: book-chapter
Indexed In: ['crossref']
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot