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

Partial support for passing/return POD struct values. #1054

Merged
merged 7 commits into from
Jan 4, 2024

Conversation

schweitzpgi
Copy link
Collaborator

There is more to do here. Most notably the bridge doesn't support the ctors and other AST artifacts needed to build struct values, pass them around, etc.

Supports a POD struct if it is created by some external at this point.

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 Dec 20, 2023
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 Dec 20, 2023
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 Dec 20, 2023
@schweitzpgi schweitzpgi force-pushed the ch-struct.1 branch 2 times, most recently from 5404fd9 to 27bfe1f Compare December 21, 2023 00:53
@schweitzpgi schweitzpgi enabled auto-merge (squash) December 21, 2023 00:54
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 Dec 21, 2023
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 Dec 21, 2023
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 Dec 21, 2023
include/cudaq/Frontend/nvqpp/ASTBridge.h Outdated Show resolved Hide resolved
lib/Frontend/nvqpp/ConvertExpr.cpp Show resolved Hide resolved
test/AST-Quake/struct.cpp Show resolved Hide resolved
.github/workflows/config/spellcheck_config.yml Outdated Show resolved Hide resolved
.github/workflows/config/spellcheck_config.yml Outdated Show resolved Hide resolved
There is more to do here. Most notably the bridge doesn't support the
ctors and other AST artifacts needed to build struct values, pass them
around, etc.

Supports a POD struct if it is created by some external at this point.

Burned by touching an old file. Spelling checker started to whine.

Change the spelling check script to deal with doxygen better.

Fix LLVM code gen bug.
Copy link

github-actions bot commented Jan 2, 2024

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

Copy link
Collaborator

@amccaskey amccaskey left a comment

Choose a reason for hiding this comment

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

LGTM

@schweitzpgi schweitzpgi merged commit 602caa1 into NVIDIA:main Jan 4, 2024
109 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2024
@schweitzpgi schweitzpgi deleted the ch-struct.1 branch January 4, 2024 20:31
@bettinaheim bettinaheim changed the title Break ground on passing/return POD struct values. Partial support for passing/return POD struct values. Jan 22, 2024
@bettinaheim bettinaheim added this to the release 0.6.0 milestone Jan 22, 2024
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

4 participants