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
769718df
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "18ebd57bd80fdd1bb8cbf9af075ba0301705bc6f"
Unverified
Commit
769718df
authored
Dec 03, 2021
by
Jinjing Zhou
Committed by
GitHub
Dec 03, 2021
Browse files
Bring back thrust for backward compatibility (#3562)
parent
9f445a13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
.gitmodules
.gitmodules
+3
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
third_party/thrust
third_party/thrust
+1
-0
No files found.
.gitmodules
View file @
769718df
...
@@ -32,3 +32,6 @@
...
@@ -32,3 +32,6 @@
[submodule "third_party/libxsmm"]
[submodule "third_party/libxsmm"]
path = third_party/libxsmm
path = third_party/libxsmm
url = https://github.com/hfp/libxsmm.git
url = https://github.com/hfp/libxsmm.git
[submodule "third_party/thrust"]
path = third_party/thrust
url = https://github.com/NVIDIA/thrust.git
CMakeLists.txt
View file @
769718df
...
@@ -54,6 +54,7 @@ if(USE_CUDA)
...
@@ -54,6 +54,7 @@ if(USE_CUDA)
# is fixed by https://github.com/NVIDIA/cub/commit/9143e47e048641aa0e6ddfd645bcd54ff1059939
# is fixed by https://github.com/NVIDIA/cub/commit/9143e47e048641aa0e6ddfd645bcd54ff1059939
# in 11.1.
# in 11.1.
message
(
STATUS
"Detected CUDA of version
${
CUDA_VERSION
}
. Use external CUB/Thrust library."
)
message
(
STATUS
"Detected CUDA of version
${
CUDA_VERSION
}
. Use external CUB/Thrust library."
)
cuda_include_directories
(
BEFORE
"
${
CMAKE_SOURCE_DIR
}
/third_party/thrust"
)
cuda_include_directories
(
BEFORE
"
${
CMAKE_SOURCE_DIR
}
/third_party/cub"
)
cuda_include_directories
(
BEFORE
"
${
CMAKE_SOURCE_DIR
}
/third_party/cub"
)
endif
()
endif
()
endif
(
USE_CUDA
)
endif
(
USE_CUDA
)
...
...
thrust
@
0ef5c509
Subproject commit 0ef5c509856e12cc408f0f00ed586b4c5b1a155c
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