Skip to content

Conversation

@junrushao
Copy link
Member

This PR adds DLDeviceType2String and overloading of ostream's operator<< on DLDevice so that they could be printed as strings more with better developer ergonomics.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Aug 27, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@junrushao junrushao marked this pull request as ready for review August 27, 2023 02:15
@junrushao junrushao force-pushed the feature/2023-08-26/stringify-dldevice branch from 0e04a51 to b80177d Compare August 27, 2023 03:42
This PR adds `DLDeviceType2String` and overloading of ostream's
`operator<<` on `DLDevice` so that they could be printed as strings more
with better developer ergonomics.
@junrushao junrushao force-pushed the feature/2023-08-26/stringify-dldevice branch from b80177d to 4ffd484 Compare August 27, 2023 03:59
@junrushao junrushao closed this Aug 27, 2023
@junrushao junrushao changed the title [Runtime] Add Stringification to DLDeviceType and DLDevice [Runtime] Utils to Stringify Device Aug 27, 2023
@junrushao
Copy link
Member Author

Moved to #15630

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants