-
Notifications
You must be signed in to change notification settings - Fork 62
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
Disallow timing calls in leaf tasks #966
Comments
Actually @lightsighter will do the right thing at the Legion level, i.e. emit a timing op if on a non-leaf task, and just do the timing eagerly if in a leaf task. |
Note to self: before we can close this, we also need to make sure the timing operation is launched using the appropriate context for the current task. |
Yes, that is still required otherwise bad things could happen (will be checked for you in what is probably the next Legion release). |
Merged. |
Bug report due to @elliottslaughter
Timing calls ends up doing a Legion runtime call, that are presumably not allowed in leaf tasks. E.g. the following program will hang:
We should not allow timing calls (or most runtime calls for that mater) in leaf tasks.
The text was updated successfully, but these errors were encountered: