-
Notifications
You must be signed in to change notification settings - Fork 184
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
Modifying default target to be GPU, if present #842
Modifying default target to be GPU, if present #842
Conversation
CLA Assistant Lite bot All Contributors have signed the CLA. |
I have read the Contributor License Agreement and I hereby accept the Terms. |
2ea7802
to
e3b6fb3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I downloaded this PR and ran it successfully on my local machine w/ a GPU 👍. What was the decision on an environment variable override of the auto-detected default?
Thanks for checking. I too was able to run with and w/o GPU after rebuilding the containers. The environment variable will be done later in a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
2619822
to
ecb7acb
Compare
simulator otherwise. * Refactored the check for GPUs into a common function.
* Introduced a check for GPU(s) in the Python workflow * Updated tutorial doc about 'default' target * Renamed the default target (not the default platform) to 'qpp-cpu'
target in C++ and Python.
5924dfe
to
2438a3d
Compare
Command Bot: Processing... |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Checklist: