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

Many fixes to get unit tests passing on Windows. #7431

Merged
merged 13 commits into from
Feb 25, 2021
Merged

Many fixes to get unit tests passing on Windows. #7431

merged 13 commits into from
Feb 25, 2021

Conversation

rkimball
Copy link
Contributor

Not everything passes, but much more passes than used to.

  • Fixed some compiler warnings
  • nvcc working on Windows
  • CUDA codegen tests passing

cmd = ["clang"]
cmd += ["-O2", "-flto=full", "-fuse-ld=lld-link"]
cmd += ["-O2", "-v", "-fvisibility=default", "-export-all-symbols"]
Copy link
Member

Choose a reason for hiding this comment

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

Can we check if we need -export-all-symbols after #6698? I believe we should have marked the life scopes correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, there are some debug flags in there too, -v. That line needs to be cleaned up.

Copy link
Member

Choose a reason for hiding this comment

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

OK, thanks, please add a comment about the need of debug flags there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The current code in the PR only has the flag -O2. The other flags are not required.

@rkimball rkimball marked this pull request as ready for review February 19, 2021 21:16
@rkimball rkimball requested a review from tqchen February 19, 2021 21:16
@tqchen tqchen merged commit 43b15a8 into apache:main Feb 25, 2021
@tqchen
Copy link
Member

tqchen commented Feb 25, 2021

Thanks @rkimball !

Lokiiiiii pushed a commit to Lokiiiiii/tvm that referenced this pull request Mar 2, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants