提交 bb4b1a57 authored 作者: Tim Head's avatar Tim Head

The -ccbin argument to nvcc has to be an argument to nvcc, not an extra argument to -Xcompiler

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