Fork自 PaddlePaddle / Paddle
add_subdirectory(core) add_subdirectory(utils)
cc_test(pten_backend_test SRCS backend_test.cc DEPS gtest) cc_test(pten_data_layout_test SRCS data_layout_test.cc DEPS gtest) cc_test(pten_data_type_test SRCS data_type_test.cc DEPS gtest) cc_test(dense_tensor_test SRCS dense_tensor_test.cc DEPS dense_tensor) cc_test(kernel_factory_test SRCS kernel_factory_test.cc DEPS kernel_factory) cc_test(test_mean_api SRCS test_mean_api.cc DEPS math_api pten_hapi_utils) cc_test(test_dot_api SRCS test_dot_api.cc DEPS linalg_api pten_hapi_utils)
cc_test(test_matmul_api SRCS test_matmul_api.cc DEPS linalg_api pten_hapi_utils)
cc_test(test_fill_api SRCS test_fill_api.cc DEPS creation_api pten_hapi_utils) cc_test(test_copy_api SRCS test_copy_api.cc DEPS utils_cpu pten_hapi_utils) cc_test(test_flatten_api SRCS test_flatten_api.cc DEPS utils_cpu manipulation_api pten_hapi_utils)