• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Révision6fe9695e0b8370e5a8d02dd35ddc35eb0a8648d1 (tree)
l'heure2013-07-30 23:38:23
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

bug in ldc parameter of wrappers::Blas::Dgemm is fixed. #31807

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1444 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Modification

--- a/src/wrappers/Blas.cpp
+++ b/src/wrappers/Blas.cpp
@@ -305,10 +305,9 @@ void Blas::Dgemm(bool isColumnMajorMatrixA,
305305 #else
306306 tmpC = (double*)malloc( sizeof(double)*m*n);
307307 #endif
308- molds_blas_int ldc;
308+ molds_blas_int ldc = m;
309309 if(isColumnMajorMatrixC){
310310 this->Dcopy(m*n, &matrixC[0][0], tmpC);
311- ldc = m;
312311 }
313312 else{
314313 for(molds_blas_int i=0; i<m; i++){
@@ -316,7 +315,6 @@ void Blas::Dgemm(bool isColumnMajorMatrixA,
316315 tmpC[i+j*m] = matrixC[i][j];
317316 }
318317 }
319- ldc = n;
320318 }
321319
322320 //call blas