Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL c datatype problem

YC_H_
Beginner
336 Views

Hi,

I am using cblas from MKL library but I got wrong results after redefine MKL_INT to long.

Is there something wrong?

#define MKL_INT long

#include "mkl.h"

....

mkl_dcscmv(...)

....

 

Thanks!

0 Kudos
2 Replies
Ying_H_Intel
Employee
336 Views
Hello, Please refer to https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ with wanted integer type: ILP64 or LP64 If the issue still insists, please submit your question to our official support website: https://supporttickets.intel.com Best Regards, Ying
0 Kudos
YC_H_
Beginner
336 Views

Hello Ying,

Thanks for the response.

It is the linking library problem.

I have to use mkl_intel_ilp64 instead of mkl_intel_lp64.

Therefore, this problem is solved.

 

Regards,

0 Kudos
Reply