Functions | |
enum YepStatus | yepCore_DotProduct_V32fV32f_S32f (const Yep32f *restrict x, const Yep32f *restrict y, Yep32f *restrict dotProduct, YepSize length) |
Computes the dot product of two vectors of single precision (32-bit) floating-point elements. More... | |
enum YepStatus | yepCore_DotProduct_V64fV64f_S64f (const Yep64f *restrict x, const Yep64f *restrict y, Yep64f *restrict dotProduct, YepSize length) |
Computes the dot product of two vectors of double precision (64-bit) floating-point elements. More... | |
enum YepStatus yepCore_DotProduct_V32fV32f_S32f | ( | const Yep32f *restrict | x, |
const Yep32f *restrict | y, | ||
Yep32f *restrict | dotProduct, | ||
YepSize | length | ||
) |
Computes the dot product of two vectors of single precision (32-bit) floating-point elements.
[in] | x | Pointer to the first vector of elements. |
[in] | y | Pointer to the second vector of elements. |
[out] | dotProduct | Pointer to the variable where the dot product value will be stored. |
[in] | length | The length of the vectors specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x, y or dotProduct argument is null. |
YepStatusMisalignedPointer | x, y or dotProduct argument is not naturally aligned. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE3 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, FMA3 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
enum YepStatus yepCore_DotProduct_V64fV64f_S64f | ( | const Yep64f *restrict | x, |
const Yep64f *restrict | y, | ||
Yep64f *restrict | dotProduct, | ||
YepSize | length | ||
) |
Computes the dot product of two vectors of double precision (64-bit) floating-point elements.
[in] | x | Pointer to the first vector of elements. |
[in] | y | Pointer to the second vector of elements. |
[out] | dotProduct | Pointer to the variable where the dot product value will be stored. |
[in] | length | The length of the vectors specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x, y or dotProduct argument is null. |
YepStatusMisalignedPointer | x, y or dotProduct argument is not naturally aligned. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE2 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, FMA3 |
x86-64 | Intel Bonnell | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4 |