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
19096c6a
Unverified
Commit
19096c6a
authored
Nov 15, 2023
by
Rhett Ying
Committed by
GitHub
Nov 15, 2023
Browse files
[dev] enable cuda12.1 build (#6567)
parent
2f47c241
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cmake/modules/CUDA.cmake
cmake/modules/CUDA.cmake
+3
-3
script/create_dev_conda_env.sh
script/create_dev_conda_env.sh
+1
-1
No files found.
cmake/modules/CUDA.cmake
View file @
19096c6a
...
...
@@ -10,11 +10,11 @@ endif()
include
(
CheckCXXCompilerFlag
)
check_cxx_compiler_flag
(
"-std=c++17"
SUPPORT_CXX17
)
set
(
dgl_known_gpu_archs
"35"
"50"
"60"
"70"
)
set
(
dgl_known_gpu_archs
"35"
"50"
"60"
"70"
"75"
)
set
(
dgl_cuda_arch_ptx
"70"
)
if
(
CUDA_VERSION_MAJOR GREATER_EQUAL
"11"
)
list
(
APPEND dgl_known_gpu_archs
"80"
)
set
(
dgl_cuda_arch_ptx
"80"
)
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"
)
...
...
script/create_dev_conda_env.sh
View file @
19096c6a
#!/bin/bash
readonly
CUDA_VERSIONS
=
"11.6,11.7,11.8"
readonly
CUDA_VERSIONS
=
"11.6,11.7,11.8
,12.1
"
readonly
TORCH_VERSION
=
"1.13.0"
readonly
PYTHON_VERSION
=
"3.8"
...
...
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