We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c2bc1 commit 7f598efCopy full SHA for 7f598ef
setup.py
@@ -47,7 +47,7 @@ def get_extensions():
47
define_macros += [('WITH_CUDA', None)]
48
nvcc_flags = os.getenv('NVCC_FLAGS', '')
49
nvcc_flags = [] if nvcc_flags == '' else nvcc_flags.split(' ')
50
- nvcc_flags += ['-arch=sm_35', '--expt-relaxed-constexpr']
+ nvcc_flags += ['-arch=sm_35', '--expt-relaxed-constexpr', '-O2']
51
extra_compile_args['nvcc'] = nvcc_flags
52
53
name = main.split(os.sep)[-1][:-4]
0 commit comments