File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ function(ggml_get_system_arch)
3636 (NOT CMAKE_OSX_ARCHITECTURES AND NOT CMAKE_GENERATOR_PLATFORM_LWR AND
3737 CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|i686|AMD64|amd64)$" ))
3838 set (GGML_SYSTEM_ARCH "x86" PARENT_SCOPE)
39- elseif ("${CMAKE_SYSTEM_PROCESSOR} " STREQUAL "ppc64le " OR
40- "${CMAKE_SYSTEM_PROCESSOR} " STREQUAL "ppc64 " OR
41- "${CMAKE_SYSTEM_PROCESSOR} " STREQUAL "powerpc " )
39+ elseif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc|power" )
4240 set (GGML_SYSTEM_ARCH "PowerPC" PARENT_SCOPE)
4341 elseif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch64" )
4442 set (GGML_SYSTEM_ARCH "loongarch64" PARENT_SCOPE)
Original file line number Diff line number Diff line change 6464#define ggml_gemm_q4_0_4x4_q8_0_generic ggml_gemm_q4_0_4x4_q8_0
6565#define ggml_gemm_q4_0_4x8_q8_0_generic ggml_gemm_q4_0_4x8_q8_0
6666#define ggml_gemm_iq4_nl_4x4_q8_0_generic ggml_gemm_iq4_nl_4x4_q8_0
67- #elif defined(__powerpc__ )
67+ #elif defined(__PPC__ )
6868// quants.c
6969#define quantize_row_q8_K_generic quantize_row_q8_K
7070#define ggml_vec_dot_tq1_0_q8_K_generic ggml_vec_dot_tq1_0_q8_K
You can’t perform that action at this time.
0 commit comments