-
Notifications
You must be signed in to change notification settings - Fork 323
Quake: add verification tests for nested QPU calls and static variables #3697
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
base: main
Are you sure you want to change the base?
Conversation
|
Q: Can you elaborate what is |
@khalatepradnya They represent different versions or interpretations of the Quake language, |
|
Hi @tabo @hartsock @aaronp24 @khalatepradnya Just a gentle follow-up on this PR. It’s been about 10 days, so I wanted to check if you had a chance to review it or if there’s anything I can help clarify or update. Thanks a lot for your time! Vivek |
The command line argument cuda-quantum/tools/cudaq-quake/cudaq-quake.cpp Lines 109 to 112 in 28841e5
Can you point to which issue is being addressed by this PR? |
@khalatepradny This PR addresses the Good First Issue reported in NVIDIA/cuda-quantum Issue #2251. |
|
Requesting review from @schweitzpgi |
@khalatepradnya @schweitzpgi Thank you, waiting for your review. |
|
I haven't looked at the changes, but there does seem to be a bit of misunderstanding from the way the issue was written right from the onset. There is no such thing as What is desired are might be an input that triggers a failure because the bogon Op doesn't have any arguments or will only return an integer and not a struct type or doesn't return a empty struct. The overall agenda would be to audit the Ops in these two dialects, particularly any verify methods, and write tests to cover that the code in the verifiers (both manual and auto-generateed) is doing the correct thing and emitting the expected diagnostics. |
schweitzpgi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for sending you down the wrong rabbit hole here. Would you like to try adding cudaq-opt tests to address the cited issue?
Sure, I’d be happy to work on that. Could you please confirm whether the above changes will be merged if they are correct? That will help me align my work accordingly. Also, for adding the cudaq-opt test, could you please share what exactly you are looking for? I’d like to make sure I’m proceeding in the right direction this time |
Description
This pull request adds new negative test coverage for Quake verification errors under both supported dialects (
quake1andquake2).Two new verification test cases were added under `test/AST-error/ to validate compiler diagnostics for the following scenarios:
Each test is executed with
--verifyand explicitly run against both dialects to ensure consistent verification behavior and improve test coverage.Checklist: