未验证 提交 59241336 编写于 作者: Y Yulong Ao 提交者: GitHub

[Auto Parallel] Move the tests to a standalone folder (#45136)

上级 1353761a
...@@ -4,36 +4,20 @@ cc_library( ...@@ -4,36 +4,20 @@ cc_library(
device_mesh device_mesh
SRCS device_mesh.cc SRCS device_mesh.cc
DEPS auto_parallel_proto) DEPS auto_parallel_proto)
cc_test(
device_mesh_test
SRCS device_mesh_test.cc
DEPS device_mesh)
cc_library( cc_library(
process_mesh process_mesh
SRCS process_mesh.cc SRCS process_mesh.cc
DEPS auto_parallel_proto) DEPS auto_parallel_proto)
cc_test(
process_mesh_test
SRCS process_mesh_test.cc
DEPS process_mesh)
cc_library( cc_library(
dist_attr dist_attr
SRCS dist_attr.cc SRCS dist_attr.cc
DEPS process_mesh auto_parallel_proto proto_desc) DEPS process_mesh auto_parallel_proto proto_desc)
cc_test(
dist_attr_test
SRCS dist_attr_test.cc
DEPS dist_attr)
cc_library( cc_library(
dist_mapper dist_mapper
SRCS dist_mapper.cc SRCS dist_mapper.cc
DEPS device_mesh auto_parallel_proto) DEPS device_mesh auto_parallel_proto)
cc_test(
dist_mapper_test
SRCS dist_mapper_test.cc
DEPS dist_mapper)
cc_library(auto_parallel DEPS device_mesh process_mesh dist_attr dist_mapper) cc_library(auto_parallel DEPS device_mesh process_mesh dist_attr dist_mapper)
cc_test(
device_mesh_test
SRCS device_mesh_test.cc
DEPS device_mesh)
cc_test(
process_mesh_test
SRCS process_mesh_test.cc
DEPS process_mesh)
cc_test(
dist_attr_test
SRCS dist_attr_test.cc
DEPS dist_attr)
cc_test(
dist_mapper_test
SRCS dist_mapper_test.cc
DEPS dist_mapper)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册