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

Merge pull request #2131 from Brittix1023/nvcc_flags_includes_libs_fix

Include and library flags in nvcc.flags in config not passed to nvcc correctly
......@@ -293,8 +293,8 @@ class NVCC_compiler(object):
#nvcc argument
preargs1 = []
for pa in preargs:
for pattern in ['-O', '-arch=', '-ccbin=', '-G', '-g',
'--fmad', '--ftz', '--maxrregcount',
for pattern in ['-O', '-arch=', '-ccbin=', '-G', '-g', '-I',
'-L', '--fmad', '--ftz', '--maxrregcount',
'--prec-div', '--prec-sqrt', '--use_fast_math',
'-fmad', '-ftz', '-maxrregcount',
'-prec-div', '-prec-sqrt', '-use_fast_math']:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论