Skip to content

Commit e307675

Browse files
authored
Merge pull request #4478 from martin-frbg/issue4475
Fix incompatible pointer type in BFLOAT16 GEMMT
2 parents 033168c + 68d3548 commit e307675

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/gemmt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
527527
#endif
528528
// for alignment
529529
buffer_size = (buffer_size + 3) & ~3;
530-
STACK_ALLOC(buffer_size, FLOAT, buffer);
530+
STACK_ALLOC(buffer_size, IFLOAT, buffer);
531531

532532
#ifdef SMP
533533

@@ -616,7 +616,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
616616
#endif
617617
// for alignment
618618
buffer_size = (buffer_size + 3) & ~3;
619-
STACK_ALLOC(buffer_size, FLOAT, buffer);
619+
STACK_ALLOC(buffer_size, IFLOAT, buffer);
620620

621621
#ifdef SMP
622622

@@ -666,4 +666,4 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
666666
IDEBUG_END;
667667

668668
return;
669-
}
669+
}

0 commit comments

Comments
 (0)