Skip to content

Commit 40fb02b

Browse files
committed
Add deps as submodules to ensure equal env on ARM and x86.
1 parent a16c6e1 commit 40fb02b

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

.gitmodules

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[submodule "tests/googletest"]
2-
path = tests/googletest
2+
path = third_party/googletest
33
url = https://github.com/google/googletest.git
44
ignore = dirty
5+
[submodule "third_party/libcudacxx"]
6+
path = third_party/libcudacxx
7+
url = https://github.com/NVIDIA/libcudacxx
8+
[submodule "third_party/thrust"]
9+
path = third_party/thrust
10+
url = https://github.com/NVIDIA/thrust.git

CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,14 @@ message(CMAKE_CUDA_FLAGS="${CMAKE_CUDA_FLAGS}")
7575

7676
include_directories(
7777
${PROJECT_SOURCE_DIR}/include
78-
${PROJECT_SOURCE_DIR}/tests/googletest/googletest/include
78+
${PROJECT_SOURCE_DIR}/third_party/libcudacxx/include
79+
${PROJECT_SOURCE_DIR}/third_party/thrust/include
80+
${PROJECT_SOURCE_DIR}/third_party/googletest/googletest/include
7981
)
8082

81-
ADD_SUBDIRECTORY(tests/googletest)
83+
ADD_SUBDIRECTORY(third_party/googletest)
84+
ADD_SUBDIRECTORY(third_party/libcudacxx)
85+
ADD_SUBDIRECTORY(third_party/thrust)
8286

8387
link_directories(
8488
)

third_party/libcudacxx

Submodule libcudacxx added at 88a91da

third_party/thrust

Submodule thrust added at cf0fc21

0 commit comments

Comments
 (0)