Lunderberg opened a new pull request, #14989:
URL: https://github.com/apache/tvm/pull/14989

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to