Monday, August 15, 2022

Re: [VOLK] a += b*c ?

Just to be sure you mean, for N-long b and c,

a = \sum_{i=0}^{N-1} b[i]c[i],

right?

That's the dot product, and that exists for a couple in/output types;
the kernels you're looking for are all called dot_prod.


Cheers,

Marcus

On 8/15/22 04:41, Randall Wayth wrote:
> Hi Folks,
>
> Hopefully I am just missing this, but is there a kernel that does
> vectorised a += b*c ?
>
> Something like the IPP "AddProduct" function?
>
> Cheers,
> Randall.

No comments:

Post a Comment