Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions relapack/src/chetrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_chetrf(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (CREC_SPLIT rounds up)
const blasint cleanlWork = *n * CREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/chetrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_chetrf_rook(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (CREC_SPLIT rounds up)
const blasint cleanlWork = *n * CREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/csytrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_csytrf(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (CREC_SPLIT rounds up)
const blasint cleanlWork = *n * CREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/csytrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_csytrf_rook(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (CREC_SPLIT rounds up)
const blasint cleanlWork = *n * CREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/dsytrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_dsytrf(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (DREC_SPLIT rounds up)
const blasint cleanlWork = *n * DREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/dsytrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_dsytrf_rook(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (DREC_SPLIT rounds up)
const blasint cleanlWork = *n * DREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/ssytrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ void RELAPACK_ssytrf(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (SREC_SPLIT rounds up)
const blasint cleanlWork = *n * SREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/ssytrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_ssytrf_rook(
float *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (SREC_SPLIT rounds up)
const blasint cleanlWork = *n * SREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/zhetrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_zhetrf(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (ZREC_SPLIT rounds up)
const blasint cleanlWork = *n * ZREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/zhetrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_zhetrf_rook(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (ZREC_SPLIT rounds up)
const blasint cleanlWork = *n * ZREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/zsytrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_zsytrf(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (ZREC_SPLIT rounds up)
const blasint cleanlWork = *n * ZREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
4 changes: 2 additions & 2 deletions relapack/src/zsytrf_rook.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void RELAPACK_zsytrf_rook(
double *Work, const blasint *lWork, blasint *info
) {

// Required work size
const blasint cleanlWork = *n * (*n / 2);
// Required work size (ZREC_SPLIT rounds up)
const blasint cleanlWork = *n * ZREC_SPLIT(*n);
blasint minlWork = cleanlWork;
#if XSYTRF_ALLOW_MALLOC
minlWork = 1;
Expand Down
Loading