CMakeLists.txt 880 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
cc_library(
  device_mesh
  SRCS device_mesh.cc
  DEPS auto_parallel_proto)
cc_test(
  device_mesh_test
  SRCS device_mesh_test.cc
  DEPS device_mesh)

# cc_library(
#   process_mesh
#   SRCS process_mesh.cc
#   DEPS auto_parallel_proto)
# cc_test(
#   process_mesh_test
#   SRCS process_mesh_test.cc
#   DEPS process_mesh)

# cc_library(
#   dist_attr
#   SRCS dist_attr.cc
#   DEPS process_mesh auto_parallel_proto proto_desc)
# cc_test(
#   dist_attr_test
#   SRCS dist_attr_test.cc
#   DEPS dist_attr)

# cc_library(
#   dist_mapper
#   SRCS dist_mapper.cc
#   DEPS device_mesh auto_parallel_proto)
# cc_test(
#   dist_mapper_test
#   SRCS dist_mapper_test.cc
#   DEPS dist_mapper)

proto_library(auto_parallel_proto SRCS auto_parallel.proto)

# cc_library(auto_parallel DEPS process_mesh device_mesh dist_attr dist_mapper
#                               auto_parallel_proto)