Synthesize indirect dispatch workload calculations for data-dependent shapes #38
Labels
compiler/dialects
Relating to the IREE compiler dialects (flow, hal, vm)
enhancement ➕
New feature or request
next-gen ✨
Forward-looking work built on IREE's foundation
When we aren't able to fully parameterize shapes based on input shapes (such as when a shape is sliced out of an arbitrary tensor) we'll need to synthesize a dispatch that computes the workload for indirect dispatch. We'll want to add bounds checking and compatibility checks and some way of communicating data loss errors (such as when the computed workload is not possible to perform), though we could possibly work around this by enqueuing multiple indirect dispatches and using as many as we need to satisfy the request.
The text was updated successfully, but these errors were encountered: