mbs-octoml opened a new pull request #9460:
URL: https://github.com/apache/tvm/pull/9460


   (This is in preparation for #9326, which I'm trying to
   make as small as possible, sorry for the scatter gun.)
   
   If no explicit host target is given but the given
   TargetMap has targets with hosts, try to use those
   to establish the host_target.
   
   Also make sure both the 'legacy' TargetMap representation
   and the newer representation agree to pointer equality on
   their targets.
   
   That triggered a small change in the Interpreter to
   make better use of the CompilationConfig.
   
   Since Targets are used in ObjectPtrEquality maps AND we
   tend to call CheckAndUpdateHostConsistency all over the
   place (I count 65) I had a tricky time debugging failures. Added
   a ToDebugString() to Target which will include the host,
   and made sure the pretty printer will use the debug-friendly
   form when the show_meta_data_ flag is false.
   


-- 
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