threading test: less loops to avoid timeout
This commit is contained in:
parent
286c5b3014
commit
98728632c6
1 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ static int test_lifecycle(bool wait_on_done) {
|
||||||
ggml_threading_resume(ctx);
|
ggml_threading_resume(ctx);
|
||||||
|
|
||||||
const int m = 2;
|
const int m = 2;
|
||||||
const int n = 50;
|
const int n = 10;
|
||||||
|
|
||||||
printf("[test-ggml-threading] %s: computing %d tensors (half wait)...\n",
|
printf("[test-ggml-threading] %s: computing %d tensors (half wait)...\n",
|
||||||
__func__, m * n);
|
__func__, m * n);
|
||||||
|
@ -296,7 +296,7 @@ static int test_lifecycle(bool wait_on_done) {
|
||||||
printf("[test-ggml-threading] %s: compute done, resuming...\n", __func__);
|
printf("[test-ggml-threading] %s: compute done, resuming...\n", __func__);
|
||||||
ggml_threading_resume(ctx);
|
ggml_threading_resume(ctx);
|
||||||
|
|
||||||
const int loops = 100;
|
const int loops = 10;
|
||||||
printf("[test-ggml-threading] %s: try %d loops of suspend-resume ...\n",
|
printf("[test-ggml-threading] %s: try %d loops of suspend-resume ...\n",
|
||||||
__func__, loops);
|
__func__, loops);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue