Unverified Commit 769718df authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

Bring back thrust for backward compatibility (#3562)

parent 9f445a13
......@@ -32,3 +32,6 @@
[submodule "third_party/libxsmm"]
path = third_party/libxsmm
url = https://github.com/hfp/libxsmm.git
[submodule "third_party/thrust"]
path = third_party/thrust
url = https://github.com/NVIDIA/thrust.git
......@@ -54,6 +54,7 @@ if(USE_CUDA)
# is fixed by https://github.com/NVIDIA/cub/commit/9143e47e048641aa0e6ddfd645bcd54ff1059939
# in 11.1.
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")
endif()
endif(USE_CUDA)
......
Subproject commit 0ef5c509856e12cc408f0f00ed586b4c5b1a155c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment