提交 ed41ea9b authored 作者: Frederic's avatar Frederic

Remove new code that should not have been commited.

上级 a43b1001
......@@ -163,17 +163,6 @@ class NVCC_compiler(object):
flags.append('-arch=sm_' + str(p['major']) +
str(p['minor']))
if sys.platform.startswith("linux"):
#The windows compiler used by nvcc don't support all g++
# extension. In particular, it don't support the
# "variable length array" extension. So we ask warning
# about all extensions.
#flags.extend(['-std=c++98', '-pedantic', '-Wvla'])
#flags.extend(['-std=c++98','-Wvla'])
flags.extend(['-Wvla'])
pass
#-std=c++98 for gcc? -Wvla
return flags
@staticmethod
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论