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!

MKL c datatype problem

YC_H_
Beginner
107 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
107 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
YC_H_
Beginner
107 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,

Reply