修订版 | 60ac139c6d249e906f4d1a85b1686e7f367009d7 (tree) |
---|---|
时间 | 2012-12-26 18:10:43 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Define MKL_ILP64 macro if using 64bit int version of MKL. #30331 #30377
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1215 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -27,6 +27,9 @@ | ||
27 | 27 | #include<boost/format.hpp> |
28 | 28 | #include"config.h" |
29 | 29 | #ifdef HAVE_MKL_H |
30 | +#if SIZEOF_BLASINT == 64 | |
31 | +#define MKL_ILP64 | |
32 | +#endif | |
30 | 33 | #include"mkl.h" |
31 | 34 | #elif HAVE_CBLAS_H |
32 | 35 | #include"cblas.h" |
@@ -26,6 +26,9 @@ | ||
26 | 26 | #include<boost/format.hpp> |
27 | 27 | #include"config.h" |
28 | 28 | #if defined(HAVE_MKL_H) |
29 | +#if SIZEOF_LAPACKINT == 64 | |
30 | +#define MKL_ILP64 | |
31 | +#endif | |
29 | 32 | #include"mkl.h" |
30 | 33 | #elif defined(HAVE_LAPACKE_H) |
31 | 34 | #if SIZEOF_LAPACKINT==64 |