-
Notifications
You must be signed in to change notification settings - Fork 184
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 for_loop to cudaq::kernel_builder and cudaq.Kernel #19
Conversation
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.
Nice.
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.
Requesting changes due to missing documentation.
@amccaskey Please create or link the issue with a brief RFC.
|
@anthony-santana Please also take a look. |
798a433
to
d7c22e4
Compare
The iterator here is just +1 since I'm trying to use existing infrastructure from the bridge. We could of course add the ability to specify the step size, but I think we should file an issue and a separate PR for that. You can definitely use this to iterate through an existing StdVecType QuakeValue. I have added support and a test for that with the latest commit, please check it out. I will file the issue for this, which I forgot to do... |
The requested changes have been addressed.
Thanks. I would suggest to have one issue filed that captures the complete feature (all loop constructs that intend to support in the near future), even if the implementation work is split into several PRs. Let's make sure we don't need to change anything about this builder API to support additional scenarios in the future. |
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Enable expressions like this
and
#53