Fix: replace deprecated nvcc flag with its replacement. (#5256)

This commit is contained in:
gunan 2016-10-28 15:39:21 -07:00 committed by Martin Wicke
parent a09b6935e6
commit 988b53e1ba

View File

@ -416,7 +416,7 @@ def _cuda_copts():
"@local_config_cuda//cuda:using_nvcc": ( "@local_config_cuda//cuda:using_nvcc": (
common_cuda_opts + common_cuda_opts +
[ [
"-nvcc_options=relaxed-constexpr", "-nvcc_options=expt-relaxed-constexpr",
"-nvcc_options=ftz=true", "-nvcc_options=ftz=true",
] ]
), ),