Skip to content

Commit 625a7a7

Browse files
committed
ggml : add x64 base ABI variant
1 parent 3c36f96 commit 625a7a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ggml/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ if (GGML_CPU_ALL_VARIANTS)
287287
if (NOT GGML_BACKEND_DL)
288288
message(FATAL_ERROR "GGML_CPU_ALL_VARIANTS requires GGML_BACKEND_DL")
289289
endif()
290+
ggml_add_cpu_backend_variant(x64)
290291
ggml_add_cpu_backend_variant(sse42 SSE42)
291292
ggml_add_cpu_backend_variant(sandybridge SSE42 AVX)
292293
ggml_add_cpu_backend_variant(haswell SSE42 AVX F16C AVX2 BMI2 FMA)

ggml/src/ggml-cpu/cpu-feats-x86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ void test_x86_is() {
263263
static int ggml_backend_cpu_x86_score() {
264264
// FIXME: this does not check for OS support
265265

266-
int score = 0;
266+
int score = 1;
267267
cpuid_x86 is;
268268

269269
#ifdef GGML_FMA

0 commit comments

Comments
 (0)