[Q] an MKL function of the multiplication of two vectors ?

[Q] an MKL function of the multiplication of two vectors ?

kkkondo's picture

Hello,

Is there a fast MKL function of the multiplication of two vectors
doing "for(i=0;i
Thanks in advance.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Deleted user's picture

Try:

Fortran:
call vsmul( n, a, b, y )
call vdmul( n, a, b, y )
call vcmul( n, a, b, y )
call vzmul( n, a, b, y )
C:
vsMul( n, a, b, y );
vdMul( n, a, b, y );
vcMul( n, a, b, y );
vzMul( n, a, b, y );

http://www.intel.com/software/products/mkl/data/vml/functions/mul.html

Tim Prince's picture

Normally, the code generated by any vectorizing compiler would be satisfactory.

kkkondo's picture

Thank you.

With your advice I sought the latest MKL reference document, which included "v?mul."

Login to leave a comment.