mirror of
https://github.com/OpenMathLib/OpenBLAS
synced 2026-05-31 00:45:48 +08:00
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
This commit is contained in:
@@ -152,6 +152,7 @@ char* gotoblas_corename(void) {
|
||||
static gotoblas_t* get_coretype(void) {
|
||||
uint64_t vector_mask;
|
||||
unsigned vlenb = 0;
|
||||
char coremsg[128];
|
||||
|
||||
#if !defined(OS_LINUX)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user