ggml: Add Apple support for GGML_CPU_ALL_VARIANTS (#14258)
This commit is contained in:
parent
413977de32
commit
ef035803eb
2 changed files with 7 additions and 0 deletions
|
@ -190,6 +190,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
|
|||
set(ARCH_TAGS "${ARCH_TAGS}+sve2")
|
||||
list(APPEND ARCH_DEFINITIONS GGML_USE_SVE2)
|
||||
endif()
|
||||
if (GGML_INTERNAL_NOSVE)
|
||||
set(ARCH_TAGS "${ARCH_TAGS}+nosve")
|
||||
endif()
|
||||
if (GGML_INTERNAL_SME)
|
||||
set(ARM_MCPU "armv9.2-a")
|
||||
set(ARCH_TAGS "${ARCH_TAGS}+sme")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue