-
Notifications
You must be signed in to change notification settings - Fork 8
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
for programming constructs #2
Labels
enhancement
New feature or request
Comments
rizwanashraf
added a commit
that referenced
this issue
Nov 29, 2022
rizwanashraf
added a commit
that referenced
this issue
Dec 7, 2022
rizwanashraf
added a commit
that referenced
this issue
Dec 7, 2022
…fix some issues with lowering of nested loops, 2) need to add support for sparse ops
gkestor
pushed a commit
that referenced
this issue
Feb 24, 2023
gkestor
pushed a commit
that referenced
this issue
Feb 24, 2023
gkestor
pushed a commit
that referenced
this issue
Feb 24, 2023
…fix some issues with lowering of nested loops, 2) need to add support for sparse ops
The for-loop construct currently accumulates on top of output values from previous iterations that does not satisfy what user maybe intending to do. For example, the following:
produces the following SCF code:
To capture user intent, we will need to initialize the output in the outermost loop. The question is that should we support something like this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are adding basic support for loop programming constructs to enable users to write iterative algorithms. At this time, we will not support single-element access of a tensor using the loop iterator and plan to include it in the future.
Some examples of COMET DSL with for-loop are as below:
We also support the following:
The text was updated successfully, but these errors were encountered: