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
apex
Commits
267e696d
Unverified
Commit
267e696d
authored
May 20, 2020
by
Jeff Daily
Committed by
GitHub
May 20, 2020
Browse files
Fix compile args, adding version_dependent_macros. (#12)
parent
b2da92fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
setup.py
setup.py
+4
-5
No files found.
setup.py
View file @
267e696d
...
...
@@ -155,8 +155,7 @@ if "--cuda_ext" in sys.argv:
'csrc/hip/multi_tensor_adagrad.hip'
,
'csrc/hip/multi_tensor_novograd.hip'
,
'csrc/hip/multi_tensor_lamb.hip'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
]
+
version_dependent_macros
,
'nvcc'
:
[]}))
extra_compile_args
=
[
'-O3'
]
+
version_dependent_macros
))
if
not
is_rocm_pytorch
:
ext_modules
.
append
(
...
...
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