-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fixes for the remote-mqpu
platform
#1158
Fixes for the remote-mqpu
platform
#1158
Conversation
(1) Clean shutdown behavior - Client side: enforce cleanup order: qpus first then any auto-launch server instances. This prevents some stray errors during shut down: the server is shut down before the client, which causes the client to report an error just moment before it being destructed anyway. - Server app: make sure that we always have a loaded simulator in the runtime to prevent segfault during shutdow when the runtime would try to find one. (2) Harden the tensornet scratch memory allocation against race condition.
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
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
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Description
(1) Clean shutdown behavior
Client side: enforce cleanup order: qpus first then any auto-launch server instances. This prevents some stray errors during shut down. For example, the server process is shut down before the client, which causes the client to report an error (lost connection to the server) momentarily before it being destructed.
Server app: make sure that we always have a loaded simulator in the runtime to prevent segfault during shutdown when the runtime would try to find one.
(2) Harden the
tensornet
scratch memory allocation against race condition.Related to #1136