Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

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

ingu
Beginner
1,041 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
1,041 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
1,041 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
1,041 Views

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

0 Kudos
Gennady_F_Intel
Moderator
1,041 Views

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

0 Kudos
Reply