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
dgl
Commits
fdeda8a8
Unverified
Commit
fdeda8a8
authored
Nov 16, 2023
by
Rhett Ying
Committed by
GitHub
Nov 16, 2023
Browse files
[dev] update cuda cmake (#6574)
parent
12f02c3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cmake/modules/CUDA.cmake
cmake/modules/CUDA.cmake
+2
-3
No files found.
cmake/modules/CUDA.cmake
View file @
fdeda8a8
...
...
@@ -16,12 +16,11 @@ if (CUDA_VERSION_MAJOR GREATER_EQUAL "11")
list
(
APPEND dgl_known_gpu_archs
"80"
"86"
)
set
(
dgl_cuda_arch_ptx
"80"
"86"
)
endif
()
# CMake 3.5 doesn't support VERSION_GREATER_EQUAL
if
(
NOT CUDA_VERSION VERSION_LESS
"11.8"
)
if
(
CUDA_VERSION VERSION_GREATER_EQUAL
"11.8"
)
list
(
APPEND dgl_known_gpu_archs
"90"
)
set
(
dgl_cuda_arch_ptx
"90"
)
endif
()
if
(
NOT
CUDA_VERSION VERSION_
LESS
"12.0"
)
if
(
CUDA_VERSION VERSION_
GREATER_EQUAL
"12.0"
)
list
(
REMOVE_ITEM dgl_known_gpu_archs
"35"
)
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