提交 ae98aa82 authored 作者: Frederic Bastien's avatar Frederic Bastien

Remove duplicate usage of nvcc.flags. fix gh-4091

上级 56317685
......@@ -165,7 +165,6 @@ if compile_cuda_ndarray and cuda_available:
os.makedirs(tmpdir)
compiler = nvcc_compiler.NVCC_compiler()
preargs = ['-O3'] + compiler.compile_args()
preargs += [f for f in config.nvcc.flags.split(' ') if f]
compiler.compile_str(
'cuda_ndarray',
code,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论