Skip to content

Commit 43aa35c

Browse files
committed
Fix compilation with DYNAMIC_TARGET=1 and BUILD_BFLOAT16
coremsg isn't defined outside the BUILD_BFLOAT16 and BUILD_HFLOAT16 blocks, leading to the use of an undefined variable
1 parent d482456 commit 43aa35c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

driver/others/dynamic_riscv64.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ char* gotoblas_corename(void) {
152152
static gotoblas_t* get_coretype(void) {
153153
uint64_t vector_mask;
154154
unsigned vlenb = 0;
155+
char coremsg[128];
155156

156157
#if !defined(OS_LINUX)
157158
return NULL;

0 commit comments

Comments
 (0)