Skip to content

Conversation

@eshpc
Copy link
Contributor

@eshpc eshpc commented May 20, 2021

Description

I've added the hidden arguments of type size_t to the function prototypes in LAPACKE/include/lapack.h, controlled by defining LAPACK_FORTRAN_STRLEN_END. This should hopefully solve #339 for almost all current systems, although note that Win32 + stdcall has a different calling convention that is not supported by these LAPACKE and CBLAS headers.

@weslleyspereira
Copy link
Collaborator

Hi @eshpc. Thanks for the improvement! I identified 2 typos. Please, see the diff patch below:

diff --git a/LAPACKE/include/lapack.h b/LAPACKE/include/lapack.h
index f10113e09..4ab0eb246 100644
--- a/LAPACKE/include/lapack.h
+++ b/LAPACKE/include/lapack.h
@@ -5973,7 +5973,7 @@ void LAPACK_sgtsvx_base(
 #endif
 
 #define LAPACK_zgtsvx_base LAPACK_GLOBAL(zgtsvx,ZGTSVX)
-void LAPACK_zgtsv_basex(
+void LAPACK_zgtsvx_base(
     char const* fact, char const* trans,
     lapack_int const* n, lapack_int const* nrhs,
     lapack_complex_double const* DL,
@@ -6834,7 +6834,7 @@ void LAPACK_zheevd_base(
 #endif
 
 #define LAPACK_cheevd_2stage_base LAPACK_GLOBAL(cheevd_2stage,CHEEVD_2STAGE)
-void LAPACK_cheevd_2stag_basee(
+void LAPACK_cheevd_2stage_base(
     char const* jobz, char const* uplo,
     lapack_int const* n,
     lapack_complex_float* A, lapack_int const* lda,

@eshpc
Copy link
Contributor Author

eshpc commented May 25, 2021

Hi @weslleyspereira Thanks for spotting those typos.

@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #561 (2f1468a) into master (448eed9) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #561   +/-   ##
=======================================
  Coverage   82.37%   82.37%           
=======================================
  Files        1894     1894           
  Lines      190677   190677           
=======================================
  Hits       157063   157063           
  Misses      33614    33614           
Impacted Files Coverage Δ
SRC/cgesdd.f 95.40% <0.00%> (ø)
SRC/dgesdd.f 94.17% <0.00%> (ø)
SRC/sgesdd.f 94.17% <0.00%> (ø)
SRC/zgesdd.f 95.40% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 448eed9...2f1468a. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants