提交 1d542096 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #1912 from betatim/ccbin-argument

The -ccbin argument to nvcc has to be a direct argument to nvcc
...@@ -290,7 +290,7 @@ class NVCC_compiler(object): ...@@ -290,7 +290,7 @@ class NVCC_compiler(object):
#nvcc argument #nvcc argument
preargs1 = [] preargs1 = []
for pa in preargs: for pa in preargs:
for pattern in ['-O', '-arch=', for pattern in ['-O', '-arch=', '-ccbin='
'--fmad', '--ftz', '--maxrregcount', '--fmad', '--ftz', '--maxrregcount',
'--prec-div', '--prec-sqrt', '--use_fast_math', '--prec-div', '--prec-sqrt', '--use_fast_math',
'-fmad', '-ftz', '-maxrregcount', '-fmad', '-ftz', '-maxrregcount',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论