Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Important Update: Community Platform Migration​. Learn more​>

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

ingu
Beginner
2,178 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
2,178 Views

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

0 Kudos
ingu
Beginner
2,178 Views

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

0 Kudos
Gennady_F_Intel
Moderator
2,178 Views

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

0 Kudos
Gennady_F_Intel
Moderator
2,178 Views

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

0 Kudos
Reply