提交 2eba08b2 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Merge pull request #4406 from nouiz/win_gpu

Hide the useless default nvcc output on Windows
...@@ -404,7 +404,8 @@ class NVCC_compiler(Compiler): ...@@ -404,7 +404,8 @@ class NVCC_compiler(Compiler):
elif config.cmodule.compilation_warning and nvcc_stdout: elif config.cmodule.compilation_warning and nvcc_stdout:
print(nvcc_stdout) print(nvcc_stdout)
if nvcc_stdout: # On Windows, nvcc print useless stuff by default
if sys.platform != 'win32' and nvcc_stdout:
# this doesn't happen to my knowledge # this doesn't happen to my knowledge
print("DEBUG: nvcc STDOUT", nvcc_stdout, file=sys.stderr) print("DEBUG: nvcc STDOUT", nvcc_stdout, file=sys.stderr)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论