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

Add "cudaq-entrypoint" attribute on to_quake #394

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

orclassiq
Copy link
Contributor

Description

This should resolve #378.

Mark the kernel's main function as an cudaq-entrypoint.
This is useful for the OpenQASM translator, which requires one function to be marked as an entrypoint.

@github-actions
Copy link

github-actions bot commented Jul 12, 2023

CLA Assistant Lite bot All Contributors have signed the CLA.

@orclassiq
Copy link
Contributor Author

I have read the Contributor License Agreement and I hereby accept the Terms.

@orclassiq
Copy link
Contributor Author

recheck

Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

LGTM.

Mark the kernel's main function as an entrypoint.
This is useful for the openqasm translator.
@schweitzpgi schweitzpgi enabled auto-merge (squash) July 12, 2023 21:57
@schweitzpgi schweitzpgi merged commit 374064b into NVIDIA:main Jul 12, 2023
27 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 12, 2023
@bettinaheim bettinaheim added this to the release v0.4.0 milestone Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kernels created by cudaq::kernel_builder can't be translated to OpenQASM
3 participants