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

Fix bug for missing function declarations #1919

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

schweitzpgi
Copy link
Collaborator

@schweitzpgi schweitzpgi commented Jul 11, 2024

This small change copies function declarations from the "old" module to the new module to fix correctness issues. This will never be a problem if the old module is well formed. Dropping them on the floor is a bug because there may be calls to these functions in the selected kernel, and those calls will fail to verify after the declarations are dropped.

@schweitzpgi schweitzpgi added this to the release 0.8.0 milestone Jul 11, 2024
@schweitzpgi schweitzpgi added the bug fix To be listed under Bug Fixes in the release notes label Jul 11, 2024
github-actions bot pushed a commit that referenced this pull request Jul 11, 2024
Copy link

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

This small change copies function declarations from the "old" module to
the new module to fix correctness issues. This will never be a problem
if the old module is well formed. Dropping them on the floor is a bug
because there may be calls to these functions in the selected kernel,
and those calls will fail to verify after the declarations are dropped.
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.

👍

@schweitzpgi schweitzpgi enabled auto-merge (squash) July 12, 2024 17:57
@schweitzpgi schweitzpgi merged commit 58945ea into NVIDIA:main Jul 12, 2024
125 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 12, 2024
@schweitzpgi schweitzpgi deleted the ch-fix.drop.on.floor.bug branch July 12, 2024 20:33
@bettinaheim bettinaheim changed the title [runtime] Fix bug with function declarations being dropped on the floor Fix bug for missing function declarations Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix To be listed under Bug Fixes in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants