You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this commit, the `RequiresPackedAPI` function checked whether
a function needed the packed func API. This was used both to generate
a list of call-sites to update, and as part of the updates to
`PrimFunc` signatures. However, the function that updates the
`PrimFunc` signature could still return the original function
unmodified, breaking internal method calls. This occurred for
functions with a `kTarget` attribute without a host.
This commit updates `MakePackedAPI` to first update all `PrimFunc`
signatures that require the packed func API, then use the result to
determine which call-sites must be updated. This resolves the
discrepancy for host-less target annotations, and removes the
possibility of similar discrepancies in the future.
0 commit comments