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

Fix out of bound enum conversion #13967

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Fix out of bound enum conversion #13967

merged 1 commit into from
Feb 13, 2023

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Feb 12, 2023

This PR fixes Wenum-constexpr-conversion which is introduced in recent version of clang. Explciitly use integer instead of enum to store the device that may contain invalid options.

This PR fixes Wenum-constexpr-conversion which is introduced in recent version of clang.
Explciitly use integer instead of enum to store the device that may contain invalid options.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Feb 12, 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.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

@tqchen
Copy link
Member Author

tqchen commented Feb 12, 2023

@Wheest
Copy link
Contributor

Wheest commented Feb 12, 2023

cc @Wheest background https://discuss.tvm.apache.org/t/tvm-web-build-error-and-unrecognised-target/14324

Cheers, pulling this PR allows me to run make in web/ without the error being triggered.

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@junrushao junrushao merged commit a5a6e7f into apache:main Feb 13, 2023
@tqchen tqchen deleted the enum branch February 26, 2023 13:55
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.

4 participants