forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for remote-mqpu platform (NVIDIA#1158)
(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.
- Loading branch information
Showing
3 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters