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-sparse
Commits
5444e856
"vscode:/vscode.git/clone" did not exist on "2cc64cb769d628f54de6f858d26545a520a43f5c"
Unverified
Commit
5444e856
authored
Jul 13, 2020
by
Lindsey Gray
Committed by
GitHub
Jul 13, 2020
Browse files
ensure all GPU support is turned on.
parent
7936d3b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CMakeLists.txt
CMakeLists.txt
+3
-0
No files found.
CMakeLists.txt
View file @
5444e856
...
@@ -8,6 +8,9 @@ option(WITH_CUDA "Enable CUDA support" OFF)
...
@@ -8,6 +8,9 @@ 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_property
(
TARGET torch_cuda PROPERTY INTERFACE_COMPILE_OPTIONS
""
)
set_property
(
TARGET torch_cpu PROPERTY INTERFACE_COMPILE_OPTIONS
""
)
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