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

[test]mv fluid op math to test/cpp/fluid/math (#53446)

上级 841efcd4
...@@ -24,40 +24,3 @@ math_library(unpooling) ...@@ -24,40 +24,3 @@ math_library(unpooling)
math_library(prelu) math_library(prelu)
math_library(bert_encoder_functor) math_library(bert_encoder_functor)
math_library(tree2col DEPS math_function) math_library(tree2col DEPS math_function)
cc_test(
selected_rows_functor_test
SRCS selected_rows_functor_test.cc
DEPS allocator selected_rows_functor)
cc_test(
im2col_test
SRCS im2col_test.cc
DEPS im2col)
cc_test(
vol2col_test
SRCS vol2col_test.cc
DEPS vol2col)
cc_test(
beam_search_test
SRCS beam_search_test.cc
DEPS beam_search)
if(WITH_GPU)
nv_test(
selected_rows_functor_gpu_test
SRCS selected_rows_functor_test.cu.cc
DEPS selected_rows_functor math_function)
endif()
if(WITH_ROCM)
hip_test(
selected_rows_functor_gpu_test
SRCS selected_rows_functor_test.cu.cc
DEPS selected_rows_functor math_function)
endif()
cc_test(
concat_test
SRCS concat_test.cc
DEPS concat_and_split)
if(WITH_TESTING AND TEST im2col_test)
set_tests_properties(im2col_test PROPERTIES TIMEOUT 120)
endif()
...@@ -10,7 +10,7 @@ add_subdirectory(elementwise) ...@@ -10,7 +10,7 @@ add_subdirectory(elementwise)
if(WITH_LITE) if(WITH_LITE)
add_subdirectory(lite) add_subdirectory(lite)
endif() endif()
# add_subdirectory(math) add_subdirectory(math)
# if(WITH_MKLDNN) # if(WITH_MKLDNN)
# add_subdirectory(mkldnn) # add_subdirectory(mkldnn)
# endif() # endif()
......
cc_test(
selected_rows_functor_test
SRCS selected_rows_functor_test.cc
DEPS allocator selected_rows_functor)
cc_test(
im2col_test
SRCS im2col_test.cc
DEPS im2col)
cc_test(
vol2col_test
SRCS vol2col_test.cc
DEPS vol2col)
cc_test(
beam_search_test
SRCS beam_search_test.cc
DEPS beam_search)
if(WITH_GPU)
nv_test(
selected_rows_functor_gpu_test
SRCS selected_rows_functor_test.cu.cc
DEPS selected_rows_functor math_function)
endif()
if(WITH_ROCM)
hip_test(
selected_rows_functor_gpu_test
SRCS selected_rows_functor_test.cu.cc
DEPS selected_rows_functor math_function)
endif()
cc_test(
concat_test
SRCS concat_test.cc
DEPS concat_and_split)
if(WITH_TESTING AND TEST im2col_test)
set_tests_properties(im2col_test PROPERTIES TIMEOUT 120)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册