提交 0b003ff0 authored 作者: Matthew Trentacoste's avatar Matthew Trentacoste

inserting missing comma when adding '-ccbin' to direct argument flags

betatim provided a fix to Theano/Theano#1912 in commit Theano/Theano@bb4b1a5 however that fix did not include a comma on the end of the line, causing the '-ccflags' to be merged with the next string '--fmad'
上级 bb572061
...@@ -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=', '-ccbin=' 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论