Skip to content

Support reusable command buffers in the task system HAL #5250

Open

Description

@benvanik

Currently only one-shot command buffers are supported: https://github.com/google/iree/blob/84b0c2cadd165f3dd88fc6eb79e82b66af330512/iree/hal/local/task_command_buffer.c#L117-L127

This prevents reuse of command buffers (obviously) that would be nice to support for secondary command buffers and benchmarking. A simple starting point would be to add implicit synchronization when the same command buffer is submitted, though it's probably best just to bite the bullet and implement it for real.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

hal/cpu

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions