• 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

Revisão5d187e09de7815a3e44874e8b754e9343f580de3 (tree)
Hora2013-01-02 02:30:17
AutorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Mensagem de Log

int -> molds_lapack_int

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

Mudança Sumário

Diff

--- a/src/wrappers/Blas.cpp
+++ b/src/wrappers/Blas.cpp
@@ -203,7 +203,7 @@ void Blas::Dgemv(bool isColumnMajorMatrixA,
203203 transA = CblasTrans;
204204 swap(m,n);
205205 }
206- int lda = m;
206+ molds_blas_int lda = m;
207207 cblas_dgemv(CblasColMajor, transA, m, n, alpha, a, lda, x, incrementX, beta, vectorY, incrementY);
208208 #else
209209 #error Cannot find dgemv or cblas_dgemv!
@@ -242,7 +242,7 @@ void Blas::Dsymv(molds_blas_int n, double alpha,
242242 double* a = const_cast<double*>(&matrixA[0][0]);
243243 double* x = const_cast<double*>(&vectorX[0]);
244244 CBLAS_UPLO uploA=CblasUpper;
245- int lda = n;
245+ molds_blas_int lda = n;
246246 cblas_dsymv(CblasRowMajor, uploA, n, alpha, a, lda, x, incrementX, beta, vectorY, incrementY);
247247 #else
248248 #error Cannot find dsymv or cblas_dsymv!
@@ -270,7 +270,7 @@ void Blas::Dsyr(molds_blas_int n, double alpha,
270270 #elif defined(HAVE_CBLAS_DSYR)
271271 double* x = const_cast<double*>(&vectorX[0]);
272272 CBLAS_UPLO uploA=CblasUpper;
273- int lda = n;
273+ molds_blas_int lda = n;
274274 cblas_dsyr(CblasRowMajor, uploA, n, alpha, x, incrementX, a, lda);
275275 #else
276276 #error Cannot find dsyr or cblas_dsyr!
@@ -341,7 +341,7 @@ void Blas::Dgemm(bool isColumnMajorMatrixA,
341341 double* b = const_cast<double*>(&matrixB[0][0]);
342342 double* c = &matrixC[0][0];
343343
344- int lda;
344+ molds_blas_int lda;
345345 CBLAS_TRANSPOSE transA;
346346 if(isColumnMajorMatrixA){
347347 transA = CblasNoTrans;
@@ -352,7 +352,7 @@ void Blas::Dgemm(bool isColumnMajorMatrixA,
352352 lda = k;
353353 }
354354
355- int ldb;
355+ molds_blas_int ldb;
356356 CBLAS_TRANSPOSE transB;
357357 if(isColumnMajorMatrixB){
358358 transB = CblasNoTrans;