Skip to content

Fix at::optional compile problems on Windows CUDA.#10909

Closed
gchanan wants to merge 1 commit intopytorch:masterfrom
gchanan:windows_optional
Closed

Fix at::optional compile problems on Windows CUDA.#10909
gchanan wants to merge 1 commit intopytorch:masterfrom
gchanan:windows_optional

Conversation

@gchanan
Copy link
Contributor

@gchanan gchanan commented Aug 27, 2018

Fixes #10329.

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.

gchanan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

template <class T>
class optional : private OptionalBase<T> {

template <class U> // re-declaration for nvcc on Windows.

This comment was marked as off-topic.

This comment was marked as off-topic.

@ezyang
Copy link
Contributor

ezyang commented Aug 27, 2018

Can you cite #10329 in the commit message?

@gchanan
Copy link
Contributor Author

gchanan commented Aug 27, 2018

I'll cite #10329 in the commit message.

@goldsborough
Copy link
Contributor

wooooooooh 🎉

zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 27, 2018
Summary: Pull Request resolved: pytorch/pytorch#10909

Differential Revision: D9516837

Pulled By: gchanan

fbshipit-source-id: fad7e3284e74c599b873ebaae2dcdf5013505855
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary: Pull Request resolved: pytorch#10909

Differential Revision: D9516837

Pulled By: gchanan

fbshipit-source-id: fad7e3284e74c599b873ebaae2dcdf5013505855
@ezyang ezyang added the merged label Jun 26, 2019
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.

at::optional does not work on nvcc Windows (CUDA 9.1)

5 participants