Skip to content

Commit

Permalink
Fix incompatible pointer type in BFLOAT16 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Feb 4, 2024
1 parent 3848d4e commit 68d3548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/gemmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
#endif
// for alignment
buffer_size = (buffer_size + 3) & ~3;
STACK_ALLOC(buffer_size, FLOAT, buffer);
STACK_ALLOC(buffer_size, IFLOAT, buffer);

#ifdef SMP

Expand Down Expand Up @@ -616,7 +616,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
#endif
// for alignment
buffer_size = (buffer_size + 3) & ~3;
STACK_ALLOC(buffer_size, FLOAT, buffer);
STACK_ALLOC(buffer_size, IFLOAT, buffer);

#ifdef SMP

Expand Down Expand Up @@ -666,4 +666,4 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
IDEBUG_END;

return;
}
}

0 comments on commit 68d3548

Please sign in to comment.