Skip to content

Commit

Permalink
change default -arch in setup.py to sm_35 to prevent some compatibili…
Browse files Browse the repository at this point in the history
…ty issue
  • Loading branch information
Zardinality committed Aug 7, 2017
1 parent 0ba447b commit e0ab1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def build_extensions(self):
# we're only going to use certain compiler args with nvcc and not with gcc
# the implementation of this trick is in customize_compiler() below
extra_compile_args={'gcc': ["-Wno-unused-function"],
'nvcc': ['-arch=sm_61',
'nvcc': ['-arch=sm_35',
'--ptxas-options=-v',
'-c',
'--compiler-options',
Expand Down

0 comments on commit e0ab1d4

Please sign in to comment.