Skip to content

Commit

Permalink
Modifying arch compilation command in setup to work with Titan X
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuckler committed Feb 13, 2017
1 parent b1077ef commit 66d36f0
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 @@ -131,7 +131,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_52',
'--ptxas-options=-v',
'-c',
'--compiler-options',
Expand Down

0 comments on commit 66d36f0

Please sign in to comment.