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

Revert copy-constructor modification which causes TVM segfaults #666

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

areusch
Copy link
Contributor

@areusch areusch commented Apr 28, 2022

See #658

Unfortunately I don't have any more information on why this happens, but tvm is now blocked in updating dmlc-core. I had a unittest that could pass previously, but didn't pass after #658--but, a) I unfortunately lost it in auto-updating a submodule b) don't know if that was really the problem because most of these single-arg constructors aren't marked explicit.

cc @tqchen @mozga-intel @szha

@hcho3
Copy link
Contributor

hcho3 commented Apr 28, 2022

It might be better to consider upgrading to C++17 ? Is this option being considered?

@areusch
Copy link
Contributor Author

areusch commented Apr 28, 2022

we could do that, but i think we prefer to be able compile libtvm_runtime.so with e.g. c++11 in case it is built on targets with a less modern compiler. i'm not sure exactly what this would mean here

@areusch
Copy link
Contributor Author

areusch commented Apr 28, 2022

:/ it seems the dmlc-core CI is busted

@tqchen tqchen merged commit 09511cf into dmlc:main Apr 29, 2022
@tqchen
Copy link
Member

tqchen commented Apr 29, 2022

Merged since the hotfix is important to make sure optional function correctly(for non-POD types)

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.

3 participants