Skip to content

Commit d0fb00d

Browse files
committed
Merge remote-tracking branch 'ups/develop' into set_nthreads
2 parents 3e58df2 + 0b3d7f1 commit d0fb00d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

paddle/contrib/tape/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if(APPLE)
1717
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=pessimizing-move")
1818
endif(APPLE)
1919

20-
cc_library(tape_variable SRCS variable.cc DEPS ${FLUID_CORE_MODULES})
20+
cc_library(tape_variable SRCS variable.cc DEPS ${FLUID_CORE_MODULES} device_context)
2121
cc_library(tape SRCS tape.cc DEPS ${FLUID_CORE_MODULES} ${GLOB_OP_LIB} tape_variable)
2222

2323
cc_test(test_tape

python/paddle/fluid/tests/unittests/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ function(py_test_modules TARGET_NAME)
4141
endfunction()
4242
list(REMOVE_ITEM TEST_OPS test_warpctc_op)
4343
list(REMOVE_ITEM TEST_OPS test_dist_train)
44-
#list(REMOVE_ITEM TEST_OPS test_parallel_executor_crf)
45-
#list(REMOVE_ITEM TEST_OPS test_parallel_executor_fetch_feed)
44+
list(REMOVE_ITEM TEST_OPS test_parallel_executor_crf)
45+
list(REMOVE_ITEM TEST_OPS test_parallel_executor_fetch_feed)
4646
# TODO(wuyi): this test hungs on CI, will add it back later
4747
list(REMOVE_ITEM TEST_OPS test_listen_and_serv_op)
4848
foreach(TEST_OP ${TEST_OPS})
4949
py_test_modules(${TEST_OP} MODULES ${TEST_OP})
5050
endforeach(TEST_OP)
5151
py_test_modules(test_warpctc_op MODULES test_warpctc_op ENVS FLAGS_warpctc_dir=${WARPCTC_LIB_DIR} SERIAL)
5252
py_test_modules(test_dist_train MODULES test_dist_train SERIAL)
53+
py_test_modules(test_parallel_executor_crf MODULES test_parallel_executor_crf SERIAL)
54+
py_test_modules(test_parallel_executor_fetch_feed MODULES test_parallel_executor_fetch_feed SERIAL)

0 commit comments

Comments
 (0)