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
vision
Commits
cffa4e00
Unverified
Commit
cffa4e00
authored
May 20, 2019
by
Francisco Massa
Committed by
GitHub
May 20, 2019
Browse files
Revert "Build GPU extensions whenever CUDA_HOME is available (#911)" (#924)
This reverts commit
b384c4e7
.
parent
9bacd5c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
cffa4e00
...
@@ -88,7 +88,7 @@ def get_extensions():
...
@@ -88,7 +88,7 @@ def get_extensions():
define_macros
=
[]
define_macros
=
[]
if
CUDA_HOME
is
not
None
:
if
torch
.
cuda
.
is_available
()
and
CUDA_HOME
is
not
None
:
extension
=
CUDAExtension
extension
=
CUDAExtension
sources
+=
source_cuda
sources
+=
source_cuda
define_macros
+=
[(
'WITH_CUDA'
,
None
)]
define_macros
+=
[(
'WITH_CUDA'
,
None
)]
...
...
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