Three modules in paddle/fluid/memory/detail are highly coupled
Created by: wangkuiyi
In paddle/fluid/memory/detail/
, the three modules
- memory_block.{h,cc}
- meta_data.{h,cc}
- meta_cache.{h,cc}
are highly correlated:
-
memory_block.h depends on meta_cache.h
-
meta_cache.h depends on meta_data.h
-
meta_data.h depends on memory_block.h
Should we merge these three modules into one, or at least change the following CMakeLists.txt rules:
into one
cc_library(meta_data_cache SRCS meta_data.cc meta_cache.cc memory_block.cc)