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

ThreadedCompilationManager is not threadsafe for multiple concurrent calls #214

Open
taalexander opened this issue Jan 2, 2024 · 0 comments

Comments

@taalexander
Copy link
Collaborator

In this comment on the LLVM forums @joker-eph noted that the current API itself is not threadsafe if concurrent calls are made to compileMLIR which might concurrently access and use the same pass manager.

Currently, we only make one call per target compilation manager. As we have plans to extend how the C++ API is called/used this may be an issue in the nearish future.

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

No branches or pull requests

1 participant