You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/11/05 19:07:11 UTC

[GitHub] [tvm] mbs-octoml opened a new pull request #9460: Better host handling in CompilationConfig etc

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] TejashShah commented on pull request #9460: Better host handling in CompilationConfig & debug printing

Posted by GitBox <gi...@apache.org>.
TejashShah commented on pull request #9460:
URL: https://github.com/apache/tvm/pull/9460#issuecomment-964326706


   cc @jroesch @areusch  Please help this PR get through.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] areusch merged pull request #9460: Better host handling in CompilationConfig & debug printing

Posted by GitBox <gi...@apache.org>.
areusch merged pull request #9460:
URL: https://github.com/apache/tvm/pull/9460


   


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org