summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Goldsborough <peter@goldsborough.me>2018-05-30 08:55:34 -0700
committerGitHub <noreply@github.com>2018-05-30 08:55:34 -0700
commit4a80755834eb9a3a4b7792c205445d5df6563f41 (patch)
treebdf30fa1174515e6b6c545b31442b8d09231f22a /tools
parent15122e93bc8c3623b0de2ebd49f96cb9f89f4dc2 (diff)
downloadpytorch-4a80755834eb9a3a4b7792c205445d5df6563f41.tar.gz
pytorch-4a80755834eb9a3a4b7792c205445d5df6563f41.tar.bz2
pytorch-4a80755834eb9a3a4b7792c205445d5df6563f41.zip
Split up detail.h (#7836)
Diffstat (limited to 'tools')
-rw-r--r--tools/cpp_build/libtorch/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cpp_build/libtorch/CMakeLists.txt b/tools/cpp_build/libtorch/CMakeLists.txt
index dfa844dcd9..d2536bb0c4 100644
--- a/tools/cpp_build/libtorch/CMakeLists.txt
+++ b/tools/cpp_build/libtorch/CMakeLists.txt
@@ -244,7 +244,8 @@ set(TORCH_SRCS
if (NOT NO_API)
list(APPEND TORCH_SRCS
- ${TORCH_SRC_DIR}/csrc/api/src/detail.cpp
+ ${TORCH_SRC_DIR}/csrc/api/src/utils.cpp
+ ${TORCH_SRC_DIR}/csrc/api/src/cuda.cpp
${TORCH_SRC_DIR}/csrc/api/src/nn/module.cpp
${TORCH_SRC_DIR}/csrc/api/src/nn/modules/batchnorm.cpp
${TORCH_SRC_DIR}/csrc/api/src/nn/modules/conv.cpp