Skip to content

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

def _windows_compile(output, objects, options):
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