From: Christopher Albert Date: Thu, 25 Jun 2026 06:22:51 +0000 (+0200) Subject: tests : synchronize contexts at end of test-thread-safety (#24935) X-Git-Tag: upstream/0.0.10438~647 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=fdbd6abee20e408de21e90ca77a24cd50a6ea073;p=pkg%2Fggml%2Fsources%2Fllama.cpp tests : synchronize contexts at end of test-thread-safety (#24935) Assisted-by: Claude --- diff --git a/tests/test-thread-safety.cpp b/tests/test-thread-safety.cpp index acda4aa81..d0b5946e2 100644 --- a/tests/test-thread-safety.cpp +++ b/tests/test-thread-safety.cpp @@ -146,6 +146,8 @@ int main(int argc, char ** argv) { } LOG_INF("Model %d/%d, Context %d/%d: %s\n\n", m + 1, num_models, c + 1, num_contexts, result.c_str()); + + llama_synchronize(ctx.get()); }); } }