-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reduction-related code and explanation in the circuit example is out-dated #12
Comments
I do not quite get the intuition of differences between |
Also, I am curious whether |
I think I understand it better by reading the tutorial twice. Reduction list corresponds to reduction without fold. Also, intuitively I can understand that Also, I feel a bit confused about the following statements in the tutorial:
More specifically, what does |
Section 7.1 of this paper covers the distinction. I will say the reduction list implementation is not really supported right now. I would need to resurrect it to bring it back so probably worth removing it from the manual if it is in there currently.
It does have that benefit as well, although the original motivation is the one above. Right now I think we assume that a
See if the paper above answers you question. If not, let me know and I'll take a crack at answering it differently. |
The tutorial mentions several times the code related with the
AccumulateCharge
class, but the explanation does not seem to match the latest implementation of circuit example.I believe that the reduction operator has been integrated into Legion itself, e.g., the current version simply needs to use LEGION_REDOP_SUM_FLOAT32
I wish I could make a PR for this to improve the circuit tutorial to better match the current code of the circuit example and the overall Legion design, but currently, I have very little experience in using the reduction operator, so I decided to open an issue here for now.
The text was updated successfully, but these errors were encountered: