cmake: add BF16 RVV flag for ggml-cpu

This commit is contained in:
taimur-10x 2025-11-11 20:40:28 +05:00 committed by Ludovic Henry
parent 2376b7758c
commit 28fcd3ec8e
1 changed files with 3 additions and 0 deletions

View File

@ -470,6 +470,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
if (GGML_RV_ZVFH) if (GGML_RV_ZVFH)
string(APPEND MARCH_STR "_zvfh") string(APPEND MARCH_STR "_zvfh")
endif() endif()
if (GGML_RV_ZVFBFWMA)
string(APPEND MARCH_STR "_zvfbfwma")
endif()
endif() endif()
if (GGML_RV_ZICBOP) if (GGML_RV_ZICBOP)
string(APPEND MARCH_STR "_zicbop") string(APPEND MARCH_STR "_zicbop")