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

Update CUDA code to make it build on Windows #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladkvit
Copy link

@vladkvit vladkvit commented Apr 27, 2022

As per facebookresearch/pytorch3d#843 - to solve the build issue on Windows, one must swap the header from <torch/extension.h> to <ATen/ATen.h>, and update torch:: references to at::. This replacement is the only change in this diff, and the only one that seems to be required.

Context - CUDA doesn't like pybind11, the torch/extension.h includes pybind11.

For reference, the error was "error: too few arguments for template template parameter "Tuple""

@ghost
Copy link

ghost commented Apr 27, 2022

CLA assistant check
All CLA requirements met.

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.

None yet

1 participant