mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[Submodule] Remove third-party CUB (#126540)
Because it was updated 4 years ago, and now all supported CUDA versions provide CUB. Pull Request resolved: https://github.com/pytorch/pytorch/pull/126540 Approved by: https://github.com/Skylion007
This commit is contained in:
parent
1191168c45
commit
74b99438f2
3 changed files with 3 additions and 9 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
|
@ -2,10 +2,6 @@
|
|||
ignore = dirty
|
||||
path = third_party/pybind11
|
||||
url = https://github.com/pybind/pybind11.git
|
||||
[submodule "third_party/cub"]
|
||||
ignore = dirty
|
||||
path = third_party/cub
|
||||
url = https://github.com/NVlabs/cub.git
|
||||
[submodule "third_party/eigen"]
|
||||
ignore = dirty
|
||||
path = third_party/eigen
|
||||
|
|
|
|||
|
|
@ -1300,11 +1300,10 @@ endif()
|
|||
# ---[ CUB
|
||||
if(USE_CUDA)
|
||||
find_package(CUB)
|
||||
if(CUB_FOUND)
|
||||
include_directories(SYSTEM ${CUB_INCLUDE_DIRS})
|
||||
else()
|
||||
include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../third_party/cub)
|
||||
if(NOT CUB_FOUND)
|
||||
message(FATAL_ERROR "Cannot find CUB.")
|
||||
endif()
|
||||
include_directories(SYSTEM ${CUB_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if(USE_DISTRIBUTED AND USE_TENSORPIPE)
|
||||
|
|
|
|||
1
third_party/cub
vendored
1
third_party/cub
vendored
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d106ddb991a56c3df1b6d51b2409e36ba8181ce4
|
||||
Loading…
Reference in a new issue