Skip to content

[Caffe2] GCC-7 doesn't like the original syntax.#10665

Closed
xkszltl wants to merge 1 commit intopytorch:masterfrom
xkszltl:gcc7
Closed

[Caffe2] GCC-7 doesn't like the original syntax.#10665
xkszltl wants to merge 1 commit intopytorch:masterfrom
xkszltl:gcc7

Conversation

@xkszltl
Copy link
Contributor

@xkszltl xkszltl commented Aug 19, 2018

Replace with "this->template f()".

Fix #7881

@xkszltl xkszltl changed the title GCC-7 doesn't like the original syntax. [Caffe2] GCC-7 doesn't like the original syntax. Aug 19, 2018
@xkszltl
Copy link
Contributor Author

xkszltl commented Aug 19, 2018

Also recommend adding gcc7-CUDA build.

Replace with "this->template f<T>()".
@xkszltl
Copy link
Contributor Author

xkszltl commented Aug 30, 2018

Any concern on merging this?
That me know if there's any update needed.

Thanks

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@xkszltl xkszltl deleted the gcc7 branch August 30, 2018 23:47
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
Replace with "this->template f<T>()".

Fix pytorch#7881
Pull Request resolved: pytorch#10665

Differential Revision: D9597187

Pulled By: ezyang

fbshipit-source-id: 8af4e7efd98edadabb97e2523a58bd21bc116d1a
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.

[Caffe2] CUDA 9.2 and gcc 7.3.1

4 participants