pytorch/torch/utils
BloodAxe 5ade96fc84 Update cpp_extension.py (#18638)
Summary:
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`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18638

Differential Revision: D14704270

Pulled By: ezyang

fbshipit-source-id: e1e330d193d9afd5707a5437a74c0499460d2b90
2019-04-02 07:56:38 -07:00
..
backcompat Simplify python warning settings and cleanup tests. 2017-06-11 05:37:59 -04:00
bottleneck Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
data Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
ffi remove support for c extensions (#12122) 2018-10-01 13:55:28 -07:00
__init__.py arc lint torch/utils (#13141) 2018-10-25 14:59:03 -07:00
_cpp_extension_versioner.py arc lint torch/utils (#13141) 2018-10-25 14:59:03 -07:00
checkpoint.py Allow None for checkpoint (#17969) 2019-03-15 07:38:41 -07:00
collect_env.py Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
cpp_extension.py Update cpp_extension.py (#18638) 2019-04-02 07:56:38 -07:00
dlpack.py arc lint torch/utils (#13141) 2018-10-25 14:59:03 -07:00
file_baton.py Fix python2 and python 3 compatibility found by lint. (#13140) 2018-10-25 17:20:11 -07:00
hooks.py arc lint torch/utils (#13141) 2018-10-25 14:59:03 -07:00
model_zoo.py Change fake tqdm constructor to match real tqdm (#17636) 2019-03-03 01:06:10 -08:00