Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Signature of v?Fdim, v?Fmax, ...

ingu
Beginner
120 Views

Hello,

why is the second array of the functions v?Fdim, v?Fmax, v?Fmin etc. not constant?

The signature in the file mkl_vml_functions.h is:

_Mkl_Api(void, vdFdim, (const MKL_INT n, const double a[], double r1[], double r2[]))
_Mkl_Api(void, vdFmax, (const MKL_INT n, const double a[], double r1[], double r2[]))
_Mkl_Api(void, vdFmin, (const MKL_INT n, const double a[], double r1[], double r2[]))

I think it would be correct as:

_Mkl_Api(void, vdFdim, (const MKL_INT n, const double a[], const double b[], double r[]))
_Mkl_Api(void, vdFmax, (const MKL_INT n, const double a[], const double b[], double r[]))
_Mkl_Api(void, vdFmin, (const MKL_INT n, const double a[], const double b[], double r[]))

Kind regards

0 Kudos
4 Replies
Gennady_F_Intel
Moderator
120 Views

Yes, you are right. the issue has been already raised and escalated. the fix will be available into on the next updates.

ingu
Beginner
120 Views

Tank you! Then I'm looking forward to the next update and I will use until then a const cast.

Gennady_F_Intel
Moderator
120 Views

yes, we will update this thread when the fix of the problem will be available. 

Gennady_F_Intel
Moderator
120 Views

MKL v.2020 has been released and contains the fix of this problem either.

Reply