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 26823fc commit 03e02e6Copy full SHA for 03e02e6
setup.py
@@ -33,6 +33,9 @@ def get_extensions():
33
extra_compile_args = {'cxx': ['-O2']}
34
extra_link_args = ['-s']
35
36
+ if sys.platform == 'win32':
37
+ extra_compile_args['cxx'].append('/Zm500')
38
+
39
info = parallel_info()
40
if ('backend: OpenMP' in info and 'OpenMP not found' not in info
41
and sys.platform != 'darwin'):
@@ -50,6 +53,8 @@ def get_extensions():
50
53
nvcc_flags = [] if nvcc_flags == '' else nvcc_flags.split(' ')
51
54
nvcc_flags += ['--expt-relaxed-constexpr', '-O2']
52
55
extra_compile_args['nvcc'] = nvcc_flags
56
57
+ extra_compile_args['nvcc'].append('/Zm500')
58
59
name = main.split(os.sep)[-1][:-4]
60
sources = [main]
0 commit comments