Skip to content

Commit

Permalink
fix int64 in cblas_wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
mgates3 committed Aug 1, 2023
1 parent ea11ce8 commit 750d537
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions test/cblas_wrappers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ cblas_symv(
std::complex<float> beta,
std::complex<float>* yref, int incy )
{
int n_ = n;
int incx_ = incx;
int incy_ = incy;
int lda_ = lda;
lapack_int n_ = lapack_int( n );
lapack_int incx_ = lapack_int( incx );
lapack_int incy_ = lapack_int( incy );
lapack_int lda_ = lapack_int( lda );
char uplo_ = lapack_uplo_const( uplo );
if (layout == CblasRowMajor) {
uplo_ = (uplo == CblasUpper ? 'l' : 'u'); // switch upper <=> lower
Expand Down Expand Up @@ -55,10 +55,10 @@ cblas_symv(
std::complex<double> beta,
std::complex<double>* yref, int incy )
{
int n_ = n;
int incx_ = incx;
int incy_ = incy;
int lda_ = lda;
lapack_int n_ = lapack_int( n );
lapack_int incx_ = lapack_int( incx );
lapack_int incy_ = lapack_int( incy );
lapack_int lda_ = lapack_int( lda );
char uplo_ = lapack_uplo_const( uplo );
if (layout == CblasRowMajor) {
uplo_ = (uplo == CblasUpper ? 'l' : 'u'); // switch upper <=> lower
Expand All @@ -84,9 +84,9 @@ cblas_syr(
std::complex<float> const *x, int incx,
std::complex<float>* A, int lda )
{
int n_ = n;
int incx_ = incx;
int lda_ = lda;
lapack_int n_ = lapack_int( n );
lapack_int incx_ = lapack_int( incx );
lapack_int lda_ = lapack_int( lda );
char uplo_ = lapack_uplo_const( uplo );
if (layout == CblasRowMajor) {
uplo_ = (uplo == CblasUpper ? 'l' : 'u'); // switch upper <=> lower
Expand All @@ -110,9 +110,9 @@ cblas_syr(
std::complex<double> const *x, int incx,
std::complex<double>* A, int lda )
{
int n_ = n;
int incx_ = incx;
int lda_ = lda;
lapack_int n_ = lapack_int( n );
lapack_int incx_ = lapack_int( incx );
lapack_int lda_ = lapack_int( lda );
char uplo_ = lapack_uplo_const( uplo );
if (layout == CblasRowMajor) {
uplo_ = (uplo == CblasUpper ? 'l' : 'u'); // switch upper <=> lower
Expand Down

0 comments on commit 750d537

Please sign in to comment.