Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4690 from mattip/blasint
Browse files Browse the repository at this point in the history
use blasint instead of int to quiet warnings
  • Loading branch information
martin-frbg authored May 13, 2024
2 parents f0560f9 + 243640c commit 1ab9f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions utest/test_extensions/test_cgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ static float check_cgemm(char transa, char transb, blasint m, blasint n, blasint
char transb_verify = transb;
char cc[2]="C", cr[2]="R";

int arows = k, acols = m;
int brows = n, bcols = k;
blasint arows = k, acols = m;
blasint brows = n, bcols = k;

if (transa == 'T' || transa == 'C'){
arows = m; acols = k;
Expand Down
4 changes: 2 additions & 2 deletions utest/test_extensions/test_zgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ static double check_zgemm(char transa, char transb, blasint m, blasint n, blasin
char transb_verify = transb;
char cc[2]="C", cr[2]="R";

int arows = k, acols = m;
int brows = n, bcols = k;
blasint arows = k, acols = m;
blasint brows = n, bcols = k;

if (transa == 'T' || transa == 'C'){
arows = m; acols = k;
Expand Down

0 comments on commit 1ab9f50

Please sign in to comment.