Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
54b63712
Commit
54b63712
authored
Sep 06, 2023
by
Casper Hansen
Browse files
Add threaded build
parent
b7290868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
setup.py
setup.py
+3
-1
No files found.
setup.py
View file @
54b63712
...
...
@@ -85,9 +85,11 @@ if os.name == "nt":
"nvcc"
:
arch_flags
}
else
:
threads
=
[
"--threads"
,
str
(
min
(
os
.
cpu_count
(),
8
))]
extra_compile_args
=
{
"cxx"
:
[
"-g"
,
"-O3"
,
"-fopenmp"
,
"-lgomp"
,
"-std=c++17"
],
"nvcc"
:
[
"-O3"
,
"-std=c++17"
]
+
arch_flags
"nvcc"
:
[
"-O3"
,
"-std=c++17"
]
+
arch_flags
+
threads
}
extensions
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment