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

[WIP] Automatically set optimal OpenMP and fusion thresholds #956

Closed
wants to merge 2 commits into from

Conversation

chriseclectic
Copy link
Member

Summary

Adds basic profiling code to find suitable threshold values for OpenMP and gate fusion for backend options.

Closes #954

Details and comments

The automatic settings can be set by running AerProvider.optimize_backend_options() which sets attributes of the AerBackend that are used to populate the backend options at runtime (if no custom values are input).

This is sub-optimal since it needs to be run each session, TODO is to save this profile to an rc file that can be loaded automatically if present so it only needs to be run once per system. @mtreinish or @atilag can you help with how to do this?

@chriseclectic chriseclectic added Changelog: New Feature Include in the Added section of the changelog performance Performance improvements labels Sep 26, 2020
@chriseclectic chriseclectic added this to the Aer 0.7 milestone Sep 26, 2020
@chriseclectic
Copy link
Member Author

Superseded by #1183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog performance Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-evaluate default thresholds for OpenMP and Fusion
1 participant