You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "junrushao (via GitHub)" <gi...@apache.org> on 2023/08/27 18:11:27 UTC

[GitHub] [tvm] junrushao opened a new pull request, #15630: [Runtime] Utils to Stringify Device

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

   There exist some basic functionality to convert Device and DLDeviceType to std::string, but they are not following the common naming convention in TVM, and thus less discoverable. This commit makes changes accordingly:
   - `runtime::DeviceName` to `runtime::DLDeviceType2Str`
   - move declaration of `operator << (std::ostream&, Device)` from `runtime/device_api.h` to `runtime/packed_func.h`


-- 
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] junrushao merged pull request #15630: [Runtime] Utils to Stringify Device

Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao merged PR #15630:
URL: https://github.com/apache/tvm/pull/15630


-- 
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] junrushao commented on pull request #15630: [Runtime] Utils to Stringify Device

Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao commented on PR #15630:
URL: https://github.com/apache/tvm/pull/15630#issuecomment-1694731635

   CC: @Hzfengsy @cyx-6 


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