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
f127bd3a
Commit
f127bd3a
authored
Jul 16, 2020
by
rusty1s
Browse files
add nvcc flags [ci skip]
parent
1ef1a335
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
f127bd3a
...
@@ -8,6 +8,8 @@ option(WITH_CUDA "Enable CUDA support" OFF)
...
@@ -8,6 +8,8 @@ option(WITH_CUDA "Enable CUDA support" OFF)
if
(
WITH_CUDA
)
if
(
WITH_CUDA
)
enable_language
(
CUDA
)
enable_language
(
CUDA
)
add_definitions
(
-D__CUDA_NO_HALF_OPERATORS__
)
add_definitions
(
-D__CUDA_NO_HALF_OPERATORS__
)
add_definitions
(
-DWITH_CUDA
)
set
(
CMAKE_CUDA_FLAGS
"
${
CMAKE_CUDA_FLAGS
}
-arch=sm_35 --expt-relaxed-constexpr"
)
endif
()
endif
()
find_package
(
Python3 COMPONENTS Development
)
find_package
(
Python3 COMPONENTS Development
)
...
...
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