Skip to content

Fully propagate failures to scopes (including scope waiters) #4026

Closed

Description

@benvanik

With our current use cases no task will ever fail to execute (calls or dispatch tiles). Though a majority of the code path is in place for propagating failures on a scope (discarding pending tasks, etc) it's untested and there are a few rough edges around things like iree_task_scope_wait_idle that need cleanup.

For now attempting to fail an executing task at the leaf will check-fail.

Activity

  1. added
    enhancement ➕
    hal/cpu
    on Nov 29, 2020
  2. self-assigned this
    on Nov 29, 2020
  3. benvanik commented on Dec 29, 2020

    @benvanik
    CollaboratorAuthor

    The other thing we need to support here is iree_task_call_t being able to dispose of any resources - possibly by just making the call fn take a status code (avoids the need for additional fn pointers).

  4. benvanik commented on Mar 5, 2022

    @benvanik
    CollaboratorAuthor

    Note to self: need to verify wait failures propagate to scopes.

  5. moved this from Active to TODO in @benvanik 👻on Mar 5, 2022
  6. benvanik commented on May 27, 2022

    @benvanik
    CollaboratorAuthor

    Seems to work!

  7. Repository owner moved this from TODO to Done in @benvanik 👻on May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement ➕hal/cpu

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions