share MemOptVarInfos of external variables into cinn_launch subgraph (#39209)
* add a graph pass to share MemOptVarInfos of external variables into subgraph * update pass name * fix compile failed * add share_mem_opt_info_to_subgraph_pass test * share_mem_opt_info_to_subgraph_pass_test pass * modify some codes for better style and more robust * update cmake
Showing
想要评论请 注册 或 登录