forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: pytorch#69041 `TH_CONCAT_{N}` is still being used by THP so I've moved that into it's own header but all the compiled code is gone. Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D32872477 Pulled By: ngimel fbshipit-source-id: 06c82d8f96dbcee0715be407c61dfc7d7e8be47a
- Loading branch information
1 parent
8dfdc3d
commit b08d642
Showing
24 changed files
with
33 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,13 @@ | ||
set(Aten_TH_AVX_extra_src) | ||
|
||
set(hdr | ||
THGeneral.h THHalf.h THTensor.h) | ||
|
||
set(ATen_TH_SRCS | ||
${CMAKE_CURRENT_SOURCE_DIR}/THGeneral.cpp | ||
) | ||
# Remember that PARENT_SCOPE variables are not in the current scope | ||
set(ATen_TH_SRCS ${ATen_TH_SRCS} PARENT_SCOPE) | ||
set(ATen_CPU_SRCS ${ATen_CPU_SRCS} ${ATen_TH_SRCS} PARENT_SCOPE) | ||
|
||
# Aten_TH_AVX_extra_src is used in aten/src/ATen/CMakeLists.txt | ||
# when built with BUILD_LITE_INTERPRETER=1 | ||
set(Aten_TH_AVX_extra_src ${Aten_TH_AVX_extra_src} PARENT_SCOPE) | ||
###################################################### | ||
|
||
|
||
set(ATen_CPU_INCLUDE ${ATen_CPU_INCLUDE} | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
PARENT_SCOPE) | ||
|
||
set(ATen_CUDA_INCLUDE ${ATen_CUDA_INCLUDE} | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
PARENT_SCOPE) | ||
|
||
configure_file(THGeneral.h.in "${CMAKE_CURRENT_BINARY_DIR}/THGeneral.h") | ||
|
||
|
||
install(FILES | ||
TH.h | ||
${CMAKE_CURRENT_BINARY_DIR}/THGeneral.h | ||
THGenerateByteType.h | ||
THHalf.h | ||
DESTINATION "${ATEN_INSTALL_INCLUDE_SUBDIR}/TH") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.