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
torch-cluster
Commits
6d5aba2f
Commit
6d5aba2f
authored
Oct 28, 2020
by
rusty1s
Browse files
print warn on single-threaded
parent
c3026977
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
setup.py
setup.py
+2
-1
No files found.
setup.py
View file @
6d5aba2f
...
@@ -25,8 +25,9 @@ def get_extensions():
...
@@ -25,8 +25,9 @@ def get_extensions():
info
=
parallel_info
()
info
=
parallel_info
()
if
'parallel backend: OpenMP'
in
info
and
'OpenMP not found'
not
in
info
:
if
'parallel backend: OpenMP'
in
info
and
'OpenMP not found'
not
in
info
:
print
(
'Using OpenMP'
)
extra_compile_args
[
'cxx'
]
+=
[
'-DAT_PARALLEL_OPENMP'
,
'-fopenmp'
]
extra_compile_args
[
'cxx'
]
+=
[
'-DAT_PARALLEL_OPENMP'
,
'-fopenmp'
]
else
:
print
(
'Compiling without OpenMP...'
)
if
WITH_CUDA
:
if
WITH_CUDA
:
Extension
=
CUDAExtension
Extension
=
CUDAExtension
...
...
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