Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runtime] Utils to Stringify Device #15625

Closed

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