Skip to content

Commit 7f598ef

Browse files
committed
update
1 parent 88c2bc1 commit 7f598ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_extensions():
4747
define_macros += [('WITH_CUDA', None)]
4848
nvcc_flags = os.getenv('NVCC_FLAGS', '')
4949
nvcc_flags = [] if nvcc_flags == '' else nvcc_flags.split(' ')
50-
nvcc_flags += ['-arch=sm_35', '--expt-relaxed-constexpr']
50+
nvcc_flags += ['-arch=sm_35', '--expt-relaxed-constexpr', '-O2']
5151
extra_compile_args['nvcc'] = nvcc_flags
5252

5353
name = main.split(os.sep)[-1][:-4]

0 commit comments

Comments
 (0)