mirror of
https://github.com/iafiscal1212/diffuse-cpp.git
synced 2026-12-04 08:38:08 +00:00
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:
1 parent
66d06535d9
commit
740e8366e9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user