Skip to content
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

Remove mutex around LLVM calls from booster #4087

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jberthold
Copy link
Member

Previously the LLVM backend was not thread-safe so the simplification calls had to be sequentialised for concurrent RPC requests.

Since thread-local storage is now used, the calls can be executed concurrently/in parallel using multiple cores. This PR removes the mutex that sequentialised the calls before.

This change should be tested in combination with K release 7.1.198 or higher (LLVM backend using thread-local storage).

Previously the LLVM backend was not thread-safe so the simplification calls had to be sequentialised for concurrent RPC requests.

Since thread-local storage is now used, the calls can be executed concurrently/in parallel using multiple cores. This PR removes the mutex that sequentialised the calls before.
@jberthold jberthold force-pushed the enable-parallel-calls-to-llvm branch from 8d90457 to 070305f Compare January 17, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant