• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiond63ed4276626f1e72644ee46d2999dbdee57554b (tree)
Time2013-08-24 11:00:42
AuthorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Define MKL_ILP64 in config.h. #28588

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1507 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Incremental Difference

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -159,6 +159,9 @@ AC_DEFINE_UNQUOTED([SIZEOF_BLASINT], [($molds_cv_sizeof_blasint)], [The size of
159159
160160 dnl Size of BLAS int
161161 AC_DEFINE([SIZEOF_LAPACKINT], [SIZEOF_BLASINT], [The size of integer variables used by LAPACK library])
162+AS_IF([test x$molds_cv_sizeof_blasint = x64],
163+ [AC_DEFINE([MKL_ILP64], [],
164+ [Whether ILP64 version of Intel Math Kernel Library])])
162165
163166 dnl Boost
164167 AX_BOOST_BASE([1.46],,[AC_MSG_FAILURE([boost library is too old!])])
--- a/src/wrappers/Blas.cpp
+++ b/src/wrappers/Blas.cpp
@@ -34,9 +34,6 @@
3434 #include"Blas.h"
3535
3636 #ifdef HAVE_MKL_H
37-#if SIZEOF_BLASINT == 64
38-#define MKL_ILP64
39-#endif
4037 #include"mkl.h"
4138 #elif HAVE_CBLAS_H
4239 #include"cblas.h"
--- a/src/wrappers/Lapack.cpp
+++ b/src/wrappers/Lapack.cpp
@@ -34,9 +34,6 @@
3434 #include"Lapack.h"
3535
3636 #if defined(HAVE_MKL_H)
37-#if SIZEOF_LAPACKINT == 64
38-#define MKL_ILP64
39-#endif
4037 #include"mkl.h"
4138 #elif defined(HAVE_LAPACKE_H)
4239 #if SIZEOF_LAPACKINT==64