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
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.
For more complete information about compiler optimizations, see our Optimization Notice.