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
14d4f8cb
Commit
14d4f8cb
authored
Sep 21, 2023
by
Casper
Browse files
Include arch by default, disable with INCLUDE_ARCH=0
parent
b621c142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
setup.py
setup.py
+6
-1
No files found.
setup.py
View file @
14d4f8cb
...
...
@@ -96,8 +96,13 @@ generator_flags = get_generator_flag()
arch_flags
=
get_compute_capabilities
()
if
os
.
name
==
"nt"
:
include_arch
=
os
.
getenv
(
"INCLUDE_ARCH"
,
"1"
)
==
"1"
# Relaxed args on Windows
extra_compile_args
=
{}
if
include_arch
:
extra_compile_args
=
{
"nvcc"
:
arch_flags
}
else
:
extra_compile_args
=
{}
else
:
extra_compile_args
=
{
"cxx"
:
[
"-g"
,
"-O3"
,
"-fopenmp"
,
"-lgomp"
,
"-std=c++17"
,
"-DENABLE_BF16"
],
...
...
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