Skip to content

Commit

Permalink
Remove invalid nvcc switches
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter2206 committed Jan 21, 2019
1 parent 6da4004 commit da1e9d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions setup_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def _compile(obj, src, ext, cc_args, extra_postargs, pp_opts):
if 'cpu' in os.path.split(src)[1].lower():
postargs = ['-c',
'-O3',
'-arch sm_60',
'--compiler-options -fPIC',
'-Xcompiler',
'-fPIC',
'-Xcompiler',
Expand All @@ -96,9 +94,7 @@ def _compile(obj, src, ext, cc_args, extra_postargs, pp_opts):
'-lstdc++',
'-lcudart']
else:
postargs = ['-arch sm_70',
'--compiler-options', '-fPIC',
'-Xcompiler',
postargs = ['-Xcompiler',
'-fPIC']

# use the cuda for .cu filese
Expand Down

0 comments on commit da1e9d1

Please sign in to comment.