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

Parallelize memory annotations #83

Conversation

boomanaiden154
Copy link
Collaborator

@boomanaiden154 boomanaiden154 commented Mar 24, 2024

This patch parallelizes memory annotations in the
convert_bhive_to_llvm_exegesis script, particularly to speed up annotations using the exegesis annotator. This uses the LLVM threading primitives, particularly ThreadPool.

This fixes #56.

This patch parallelizes memory annotations in the
convert_bhive_to_llvm_exegesis script, particularly to speed up
annotations using the exegesis annotator. This uses the LLVM threading
primitives, particularly ThreadPool
@boomanaiden154
Copy link
Collaborator Author

This is stacked on #82.

@boomanaiden154 boomanaiden154 linked an issue Mar 24, 2024 that may be closed by this pull request
…xeegesis' into users/boomanaiden154/parallelize-annotator
@boomanaiden154
Copy link
Collaborator Author

Closing this as the threading doesn't actually end up improving performance. I've spent a bit of time debugging, but was never able to figure it out. Using an external script for orchestration with multiple processes (python+ray) sped things up about linearly with the number of cores.

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.

Parallelize memory annotations
1 participant