Skip to content
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

Deferred Task Mapping #1807

Open
lightsighter opened this issue Dec 17, 2024 · 0 comments
Open

Deferred Task Mapping #1807

lightsighter opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
enhancement Legion Issues pertaining to Legion

Comments

@lightsighter
Copy link
Contributor

Currently invocations of map_task by Legion are required to return a valid mapping. It would be better if there were a way for the mapper to defer the mapping of a task to a future point in time if something is not working out (e.g., memory is not available and needs to be freed up). To this end we could add a new field to MapTaskOutput that is a MapperEvent the mapper can specify to Legion to say when to try the mapping again. The mapper would then be responsible for triggering this event from some other mapper call in order to ensure forward progress. The downside to this is that mappers could create hangs by failing to trigger their deferral events. The benefit though is that mappers wouldn't be stuck waiting for the mapper event directly (which would often be unsafe) and can instead defer the mapping of the task.

@lightsighter lightsighter added enhancement Legion Issues pertaining to Legion labels Dec 17, 2024
@lightsighter lightsighter self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Legion Issues pertaining to Legion
Projects
None yet
Development

No branches or pull requests

1 participant