修订版 | 5d187e09de7815a3e44874e8b754e9343f580de3 (tree) |
---|---|
时间 | 2013-01-02 02:30:17 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
int -> molds_lapack_int
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1226 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -203,7 +203,7 @@ void Blas::Dgemv(bool isColumnMajorMatrixA, | ||
203 | 203 | transA = CblasTrans; |
204 | 204 | swap(m,n); |
205 | 205 | } |
206 | - int lda = m; | |
206 | + molds_blas_int lda = m; | |
207 | 207 | cblas_dgemv(CblasColMajor, transA, m, n, alpha, a, lda, x, incrementX, beta, vectorY, incrementY); |
208 | 208 | #else |
209 | 209 | #error Cannot find dgemv or cblas_dgemv! |
@@ -242,7 +242,7 @@ void Blas::Dsymv(molds_blas_int n, double alpha, | ||
242 | 242 | double* a = const_cast<double*>(&matrixA[0][0]); |
243 | 243 | double* x = const_cast<double*>(&vectorX[0]); |
244 | 244 | CBLAS_UPLO uploA=CblasUpper; |
245 | - int lda = n; | |
245 | + molds_blas_int lda = n; | |
246 | 246 | cblas_dsymv(CblasRowMajor, uploA, n, alpha, a, lda, x, incrementX, beta, vectorY, incrementY); |
247 | 247 | #else |
248 | 248 | #error Cannot find dsymv or cblas_dsymv! |
@@ -270,7 +270,7 @@ void Blas::Dsyr(molds_blas_int n, double alpha, | ||
270 | 270 | #elif defined(HAVE_CBLAS_DSYR) |
271 | 271 | double* x = const_cast<double*>(&vectorX[0]); |
272 | 272 | CBLAS_UPLO uploA=CblasUpper; |
273 | - int lda = n; | |
273 | + molds_blas_int lda = n; | |
274 | 274 | cblas_dsyr(CblasRowMajor, uploA, n, alpha, x, incrementX, a, lda); |
275 | 275 | #else |
276 | 276 | #error Cannot find dsyr or cblas_dsyr! |
@@ -341,7 +341,7 @@ void Blas::Dgemm(bool isColumnMajorMatrixA, | ||
341 | 341 | double* b = const_cast<double*>(&matrixB[0][0]); |
342 | 342 | double* c = &matrixC[0][0]; |
343 | 343 | |
344 | - int lda; | |
344 | + molds_blas_int lda; | |
345 | 345 | CBLAS_TRANSPOSE transA; |
346 | 346 | if(isColumnMajorMatrixA){ |
347 | 347 | transA = CblasNoTrans; |
@@ -352,7 +352,7 @@ void Blas::Dgemm(bool isColumnMajorMatrixA, | ||
352 | 352 | lda = k; |
353 | 353 | } |
354 | 354 | |
355 | - int ldb; | |
355 | + molds_blas_int ldb; | |
356 | 356 | CBLAS_TRANSPOSE transB; |
357 | 357 | if(isColumnMajorMatrixB){ |
358 | 358 | transB = CblasNoTrans; |