Skip to content

Commit a9086bf

Browse files
committed
also move a few other dir to legacy/
1 parent c2b3df6 commit a9086bf

File tree

427 files changed

+335
-335
lines changed

Some content is hidden

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

427 files changed

+335
-335
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ include(inference_lib) # add paddle fluid inference libraries
178178

179179

180180
include_directories("${PADDLE_SOURCE_DIR}")
181-
include_directories("${PADDLE_SOURCE_DIR}/paddle/cuda/include")
181+
include_directories("${PADDLE_SOURCE_DIR}/paddle/legacy/cuda/include")
182182
include_directories("${CMAKE_CURRENT_BINARY_DIR}/proto")
183183
include_directories("${CMAKE_CURRENT_BINARY_DIR}/go/pserver/client/c")
184184

@@ -222,7 +222,7 @@ add_subdirectory(proto)
222222
if(NOT MOBILE_INFERENCE AND NOT WITH_FLUID_ONLY)
223223
# "add_subdirectory(go)" should be placed after the following loine,
224224
# because it depends on paddle/optimizer.
225-
add_subdirectory(paddle/optimizer)
225+
add_subdirectory(paddle/legacy/optimizer)
226226
endif()
227227

228228
# "add_subdirectory(paddle)" and "add_subdirectory(python)" should be

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

doc/v2/design/interface/00.why_plain_c.md

Lines changed: 1 addition & 1 deletion

doc/v2/dev/new_layer_cn.rst

Lines changed: 1 addition & 1 deletion

doc/v2/dev/new_layer_en.rst

Lines changed: 1 addition & 1 deletion

doc/v2/howto/optimization/gpu_profiling_cn.rst

Lines changed: 9 additions & 9 deletions

doc/v2/howto/optimization/gpu_profiling_en.rst

Lines changed: 8 additions & 8 deletions

go/pserver/optimizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package pserver
1616

1717
// #cgo CFLAGS: -I ../../
1818
// #cgo LDFLAGS: ${SRCDIR}/client/c/libpaddle_go_optimizer.a -lstdc++ -lm
19-
// #include "paddle/optimizer/optimizer.h"
19+
// #include "paddle/legacy/optimizer/optimizer.h"
2020
// #include <stdlib.h>
2121
// #include <string.h>
2222
import "C"

paddle/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
if(NOT WITH_FLUID_ONLY)
2-
add_subdirectory(cuda)
3-
add_subdirectory(function)
2+
add_subdirectory(legacy/cuda)
3+
add_subdirectory(legacy/function)
44
add_subdirectory(utils)
5-
add_subdirectory(math)
5+
add_subdirectory(legacy/math)
66
add_subdirectory(legacy/gserver)
7-
add_subdirectory(parameter)
7+
add_subdirectory(legacy/parameter)
88

99
if(MOBILE_INFERENCE)
1010
add_subdirectory(capi)
1111
else()
12-
add_subdirectory(pserver)
12+
add_subdirectory(legacy/pserver)
1313
add_subdirectory(trainer)
1414
add_subdirectory(scripts)
1515

paddle/api/Arguments.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License. */
1515
#include "PaddleAPI.h"
1616
#include "PaddleAPIPrivate.h"
1717

18-
#include "paddle/parameter/Argument.h"
18+
#include "paddle/legacy/parameter/Argument.h"
1919

2020
size_t Arguments::getSlotNum() const { return m->outputs.size(); }
2121

0 commit comments

Comments
 (0)