File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -467,12 +467,13 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
467467 if (GGML_VXE)
468468 message (STATUS "VX/VXE/VXE2 enabled" )
469469 list (APPEND ARCH_FLAGS -mvx -mzvector)
470- list (APPEND ARCH_DEFINITIONS GGML_NNPA __NNPA__ )
470+ list (APPEND ARCH_DEFINITIONS GGML_VXE )
471471 endif ()
472472
473473 if (GGML_NNPA)
474474 target_compile_definitions (${GGML_CPU_NAME} PRIVATE GGML_NNPA)
475475 message (STATUS "NNPA enabled" )
476+ list (APPEND ARCH_DEFINITIONS GGML_NNPA)
476477 endif ()
477478 elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "wasm" )
478479 message (STATUS "Wasm detected" )
Original file line number Diff line number Diff line change 2828#include < immintrin.h>
2929#endif
3030
31- #if defined(__s390x__) && defined(__VEC__ )
31+ #if defined(GGML_VXE )
3232#include < vecintrin.h>
3333#include < ggml-cpu/ggml-cpu-impl.h>
3434
You can’t perform that action at this time.
0 commit comments