-
Notifications
You must be signed in to change notification settings - Fork 145
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
Legion: handling multiple layout constraint sets for one region requirement #1629
Comments
This looks like an issue with the default mapper assuming that there is exactly one layout constraint for each region requirement in a task which doesn't have to be the case. Anybody can work on the default mapper without touching the runtime code, so I'll defer this to other people. |
I think you are right, the default mapper will create an instance at this loop https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/mappers/default_mapper.cc#L1939 using the first constraint set that is provided by the multimap (if it does not contain a |
We merged https://gitlab.com/StanfordLegion/legion/-/merge_requests/1156 so is this done now? @seemamirch |
@mariodirenzo - please close or add to this issue |
Thanks for working on this issue |
If I try to run the following small program with Legion. This small program contains three tasks and tries to add multiple layout constraint sets for a single region requirement of a task.
In particular, the program runs fine if you comment lines
270
,280
, and285
of the filemain.cc
.If you do not comment line
270
, you getIf you do not comment line
280
, you getif you do not comment lines
280
and285
you getI guess that something in the default mapper of the runtime does not deal with the allocation of instances that comply with multiple layout constraint sets. My understanding is that this should be possible considering that one might want to specify multiple
FieldConstraint
for one region requirement.constraintTest.tar.gz
@elliottslaughter, can you add this issue to #1032?
The text was updated successfully, but these errors were encountered: