Skip to content

Commit fdbd6ab

Browse files
authored
tests : synchronize contexts at end of test-thread-safety (ggml-org#24935)
Assisted-by: Claude
1 parent e12a012 commit fdbd6ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test-thread-safety.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ int main(int argc, char ** argv) {
146146
}
147147

148148
LOG_INF("Model %d/%d, Context %d/%d: %s\n\n", m + 1, num_models, c + 1, num_contexts, result.c_str());
149+
150+
llama_synchronize(ctx.get());
149151
});
150152
}
151153
}

0 commit comments

Comments
 (0)