Fix link: add ggml-cpu for threadpool symbols, remove unimplemented fn

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Carmen EstebanandClaude Opus 4.6 committed 2026-04-05 18:25:15 +02:00
1 parent 66d06535d9
commit 740e8366e9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ target_include_directories(diffuse PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/src
)
target_link_libraries(diffuse PUBLIC ggml)
target_link_libraries(diffuse PUBLIC ggml ggml-cpu)
# ── CLI tools ───────────────────────────────────────────────────
if(DIFFUSE_BUILD_TOOLS)
+1 -1
View File
@@ -168,7 +168,7 @@ std::vector<int32_t> ar_generate(
cache.threadpool = ggml_threadpool_new(&tparams);
if (cache.threadpool) {
DIFFUSE_LOG(" threadpool: %d threads (persistent, high priority)",
ggml_threadpool_get_n_threads(cache.threadpool));
ctx->n_threads);
}
}