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
7ffc9520
Unverified
Commit
7ffc9520
authored
Feb 20, 2021
by
peterjc123
Committed by
GitHub
Feb 19, 2021
Browse files
Fix win arg patch for BUILD_SPLIT_CUDA=ON (#3419)
parent
22c548b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
CMakeLists.txt
CMakeLists.txt
+9
-1
No files found.
CMakeLists.txt
View file @
7ffc9520
...
...
@@ -44,7 +44,15 @@ if(MSVC)
string
(
APPEND CMAKE_CUDA_FLAGS
" -Xcudafe --diag_suppress=
${
diag
}
"
)
endforeach
()
CUDA_CONVERT_FLAGS
(
torch_cpu
)
CUDA_CONVERT_FLAGS
(
torch_cuda
)
if
(
TARGET torch_cuda
)
CUDA_CONVERT_FLAGS
(
torch_cuda
)
endif
()
if
(
TARGET torch_cuda_cu
)
CUDA_CONVERT_FLAGS
(
torch_cuda_cu
)
endif
()
if
(
TARGET torch_cuda_cpp
)
CUDA_CONVERT_FLAGS
(
torch_cuda_cpp
)
endif
()
endif
()
endif
()
...
...
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