KEMBAR78
[Tensornet] Allow setting scratch size by 1tnguyen · Pull Request #2754 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented Mar 23, 2025

Description

  • Add CUDAQ_TENSORNET_SCRATCH_SIZE_PERCENTAGE to control scratch size allocation. The default is still 50% (existing behavior).

  • Minor code refactoring: move implementations to a .cpp file.

  • Update docs.

Related to #2748

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Mar 24, 2025
@1tnguyen 1tnguyen requested review from bmhowe23 and mitchdz March 24, 2025 05:02
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Mar 24, 2025
@bmhowe23 bmhowe23 linked an issue Mar 31, 2025 that may be closed by this pull request
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

github-actions bot commented Apr 1, 2025

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Apr 1, 2025
@1tnguyen 1tnguyen merged commit 1af54f9 into NVIDIA:main Apr 1, 2025
197 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 1, 2025
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label May 5, 2025
@bettinaheim bettinaheim added this to the release 0.11.0 milestone May 5, 2025
annagrin pushed a commit to annagrin/cuda-quantum that referenced this pull request Jun 17, 2025
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes Changes need to be captured in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CUDA-Q program always uses 50% of the available GPU memory.

3 participants