Skip to content

Commit a55535b

Browse files
authored
Merge pull request #5441 from martin-frbg/fixup5431
Add message for fallback due to unavailable Zfh extension in RISCV DYNAMIC_ARCH
2 parents 5ab1437 + 66cc27e commit a55535b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/others/dynamic_riscv64.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ static gotoblas_t* get_coretype(void) {
177177
return NULL;
178178
} else {
179179
#if defined(BUILD_HFLOAT16)
180+
snprintf(coremsg, sizeof(coremsg), "Cpu support for Zfh+Zvfh extensions required due to BUILD_HFLOAT16=1\n");
181+
openblas_warning(1, coremsg);
180182
return NULL;
181183
#else
182184
if (!(getauxval(AT_HWCAP) & DETECT_RISCV64_HWCAP_ISA_V))

0 commit comments

Comments
 (0)