Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

vector direct product

hagai_sela
Beginner
831 Views

Hi,
Is there any function I can use in IPP or MKL to calculate the vector direct product of two vector arrays? I am currently using ippmMul_vca in a loop but it's really slow.

Hagai.

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
831 Views
Hi,

regardingIPP:
Please see ippmDotProduct( ..... ) functions compute dot product of two vectors or Vector-vector arrays operations: Case 1: Vector - vector operation. Case 2: Vector array - vector operation Case 3: Vector array - vector array operation

MKL:
There are no such operations with arrays in MKL, but there are some functions of vector-vector multiplication for dense and sparse formats:
?dot( ... ) for computing a vector-vector dot product
?doti( .... ) for computing the dot product of a compressed sparse real vector by a full-storage real vector.

0 Kudos
hagai_sela
Beginner
831 Views

Hi,
Thanks for your answer.
I don't need to dot product - I need the "vector direct product" (multiply each item in the first vector by each item in the second vector).

http://mathworld.wolfram.com/VectorDirectProduct.html
0 Kudos
Gennady_F_Intel
Moderator
831 Views

Upps, I am sorry -:). There are no such functions in both our libraries. I'd recommend you submit this Feature Request at http://premier.intel.com

0 Kudos
Reply