Skip to content

Commit

Permalink
use blasint instead of int to quiet warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed May 12, 2024
1 parent f0560f9 commit 243640c
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 243640c

Please sign in to comment.