Skip to content

opencl: add backend_synchronize #13939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

lhez
Copy link
Contributor

@lhez lhez commented May 31, 2025

This PR adds backend_synchronize. This is not needed by the normal use where the result is read using tensor_get, which already contains synchronization, but it allows perf mode of test-backend-ops to properly measure performance.

* This is not needed by the normal use where the result is read
  using `tensor_get`, but it allows perf mode of `test-backend-ops`
  to properly measure performance.
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label May 31, 2025
@lhez lhez marked this pull request as ready for review June 2, 2025 04:36
@max-krasnyansky max-krasnyansky merged commit 71e74a3 into ggml-org:master Jun 2, 2025
46 checks passed
furyhawk pushed a commit to furyhawk/llama.cpp that referenced this pull request Jun 6, 2025
* This is not needed by the normal use where the result is read
  using `tensor_get`, but it allows perf mode of `test-backend-ops`
  to properly measure performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants