Ticket #30208

Estimate of "Block size" is needed each time that DSYSV is called.

Open Date: 2012-11-28 13:47 Last Update: 2012-11-29 03:36

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
Priority:
5 - Medium
Severity:
4
Resolution:
Fixed
File:
None

Details

"Block size" is needed in each time that DSYSV is called.

In Lapack. cc, following sections should be called in each time.

218 #pragma omp critical
219    {
220       if(!this->calculatedDsysvBlockSize){
221          lwork = -1;
222          double tempWork[3]={0.0, 0.0, 0.0};
223          dsysv(&uplo, &size, &nrhs, convertedMatrix, &lda, ipiv, tempB, &ldb, tempWork, &lwork, &info);
224          this->calculatedDsysvBlockSize = true;
225          this->dsysvBlockSize = tempWork[0]/size;
226       }
227    }

In, Lapack_GNU.cpp following sections should be called in each time.

218 #pragma omp critical
219    {
220       if(!this->calculatedDsysvBlockSize){
221          lwork = -1;
222          double tempWork[3]={0.0, 0.0, 0.0};
223          info = LAPACKE_dsysv_work(LAPACK_COL_MAJOR, uplo, size, nrhs, convertedMatrix, lda, ipiv, tempB, ldb, tempWork, lwork);
224          this->calculatedDsysvBlockSize = true;
225          this->dsysvBlockSize = tempWork[0]/size;
226       }
227    }

Ticket History (2/2 Histories)

2012-11-28 13:47 Updated by: mikiya_fujii
  • New Ticket "Estimate of "Block size" is needed each time that DSYSV is called." created
2012-11-29 03:36 Updated by: mikiya_fujii
  • Ticket Close date is changed to 2012-11-29 03:36
  • Status Update from Open to Closed
  • Resolution Update from None to Fixed
Comment

fixed at r1146.

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login