未验证 提交 80757527 编写于 作者: G gouzil 提交者: GitHub

[test]mv fluid [controlflow,detection,dlnne,tensorrt] tests to tests (#53470)

* [test]mv fluid controlflow detection dlnne tensorrt tests to tests

* [test]clean dlnne

* [test] fix test_tensorrt_engine_op

* [test] try fix path error

* [test] RollBACK test_tensorrt_engine_op

* [test] RollBACK test_tensorrt_engine_op

* [test]add todo

* Empty-Commit; test=document_fix
上级 aebff6d7
...@@ -27,11 +27,6 @@ cc_library( ...@@ -27,11 +27,6 @@ cc_library(
SRCS while_op_helper.cc SRCS while_op_helper.cc
DEPS operator op_variant) DEPS operator op_variant)
cc_test(
conditional_block_op_test
SRCS conditional_block_op_test.cc
DEPS conditional_block_op standalone_executor executor)
if(WITH_UNITY_BUILD) if(WITH_UNITY_BUILD)
target_link_libraries(paddle_operators_controlflow_unity conditional_block_op) target_link_libraries(paddle_operators_controlflow_unity conditional_block_op)
else() else()
......
...@@ -91,9 +91,5 @@ cc_library( ...@@ -91,9 +91,5 @@ cc_library(
mask_util mask_util
SRCS mask_util.cc SRCS mask_util.cc
DEPS memory) DEPS memory)
cc_test(
mask_util_test
SRCS mask_util_test.cc
DEPS memory mask_util)
detection_library(generate_mask_labels_op SRCS generate_mask_labels_op.cc DEPS detection_library(generate_mask_labels_op SRCS generate_mask_labels_op.cc DEPS
mask_util) mask_util)
...@@ -45,8 +45,3 @@ op_library( ...@@ -45,8 +45,3 @@ op_library(
#endif() #endif()
target_link_libraries(dlnne_engine_op ${DLNNE_LIB} ${CURT_LIB}) target_link_libraries(dlnne_engine_op ${DLNNE_LIB} ${CURT_LIB})
cc_test(
test_dlnne_engine_op
SRCS dlnne_engine_op_test.cc
DEPS dlnne_engine_op analysis)
...@@ -2,9 +2,11 @@ add_subdirectory(benchmark) ...@@ -2,9 +2,11 @@ add_subdirectory(benchmark)
if(WITH_CINN) if(WITH_CINN)
add_subdirectory(cinn) add_subdirectory(cinn)
endif() endif()
# add_subdirectory(controlflow) add_subdirectory(controlflow)
# add_subdirectory(detection) add_subdirectory(detection)
# add_subdirectory(dlnne) if(WITH_DLNNE)
add_subdirectory(dlnne)
endif()
add_subdirectory(elementwise) add_subdirectory(elementwise)
add_subdirectory(fused) add_subdirectory(fused)
if(WITH_LITE) if(WITH_LITE)
...@@ -21,7 +23,10 @@ endif() ...@@ -21,7 +23,10 @@ endif()
add_subdirectory(prim_ops) add_subdirectory(prim_ops)
add_subdirectory(reader) add_subdirectory(reader)
add_subdirectory(reduce_ops) add_subdirectory(reduce_ops)
# TODO(gouzil): enable this after the bug is fixed. windows: Exit code 0xc000007b, pr: #53470
# if(WITH_GPU AND TENSORRT_FOUND)
# add_subdirectory(tensorrt) # add_subdirectory(tensorrt)
# endif()
set(COMMON_OP_DEPS ${COMMON_OP_DEPS} executor) set(COMMON_OP_DEPS ${COMMON_OP_DEPS} executor)
......
cc_test(
conditional_block_op_test
SRCS conditional_block_op_test.cc
DEPS conditional_block_op standalone_executor executor)
cc_test(
mask_util_test
SRCS mask_util_test.cc
DEPS memory mask_util)
cc_test(
test_dlnne_engine_op
SRCS dlnne_engine_op_test.cc
DEPS dlnne_engine_op analysis)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册