Skip to content

Conversation

@BloodAxe
Copy link
Contributor

Hi. It seems that when building CPP-extensions with CUDA for Windows, an extra_cuda_cflags options are not properly forwarded to nvcc.

Use of extra CUDA options is necessary to build, for instance, a InplaceABN (https://github.com/mapillary/inplace_abn), which requires --expt-extended-lambda option.

This PR adds one line that correctly appends extra_cuda_cflags.

Append `extra_cuda_cflags` when building in Windows environment
Copy link
Contributor

@soumith soumith left a comment

Choose a reason for hiding this comment

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

thanks for figuring this out and fixing it.

@soumith
Copy link
Contributor

soumith commented Mar 29, 2019

@pytorchbot merge this please

1 similar comment
@peterjc123
Copy link
Collaborator

@pytorchbot merge this please

@pytorchbot pytorchbot added the merge-this-please Was marked for merge with @pytorchbot merge this please label Apr 1, 2019
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.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 5ade96f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-this-please Was marked for merge with @pytorchbot merge this please open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants