[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VOLK] a += b*c ?
From: |
Marcus Müller |
Subject: |
Re: [VOLK] a += b*c ? |
Date: |
Mon, 15 Aug 2022 12:03:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
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.