Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 1aeaaf1

Browse files
committed
merge src and include folders
1 parent 165f311 commit 1aeaaf1

File tree

209 files changed

+28
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+28
-31
lines changed

.jenkins/run_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source /etc/lsb-release
1313
if [[ "$DISTRIB_RELEASE" == 14.04 ]]; then
1414
echo "Running TC backend tests"
1515
FILTER_OUT=MLP_model ./test.sh
16-
./build/benchmarks/MLP_model --gtest_filter=-*2LUT*
16+
./build/tc/benchmarks/MLP_model --gtest_filter=-*2LUT*
1717
if [[ $(conda --version | wc -c) -ne 0 ]]; then
1818
source activate tc-env
1919
echo "Running TC PyTorch tests"
@@ -29,6 +29,6 @@ if [[ "$DISTRIB_RELEASE" == 16.04 ]]; then
2929
else
3030
echo "Running TC backend tests"
3131
FILTER_OUT=MLP_model ./test.sh
32-
./build/benchmarks/MLP_model --gtest_filter=-*2LUT*
32+
./build/tc/benchmarks/MLP_model --gtest_filter=-*2LUT*
3333
fi
3434
fi

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ message(STATUS "Found glog: ${GLOG_LIBRARIES}")
247247
# message(STATUS "${_variableName}=${${_variableName}}")
248248
# endforeach()
249249

250-
add_subdirectory(tc/proto)
251-
add_subdirectory(src)
250+
include_directories(BEFORE ${PROJECT_SOURCE_DIR})
251+
add_subdirectory(tc)
252252

253253
# At the moment pybind is only supported in CUDA mode and compilation fails
254254
# for non-CUDA mode (CUDA_HOME and CUB_HOME undefined error).
@@ -262,13 +262,13 @@ enable_testing()
262262
add_subdirectory(test)
263263

264264
if (WITH_CUDA)
265-
add_subdirectory(examples)
265+
add_subdirectory(tc/examples)
266266
else()
267267
message(STATUS "Not building examples, CUDA not available")
268268
endif()
269269

270270
if (WITH_CAFFE2 AND WITH_CUDA)
271-
add_subdirectory(benchmarks)
271+
add_subdirectory(tc/benchmarks)
272272
else()
273273
message(STATUS "Not building benchmarks, caffe2 or CUDA not available")
274274
endif()

CodeOwners.md

Lines changed: 8 additions & 8 deletions

src/CMakeLists.txt renamed to tc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include_directories(.)
2-
include_directories(../include)
32

43
add_subdirectory(lang)
4+
add_subdirectory(proto)
55
add_subdirectory(version)
66
add_subdirectory(core)
77
add_subdirectory(autotuner)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)