1. 21 8月, 2023 1 次提交
    • F
      [CINN] Optimize parallel compiler and support dumping more compilation information (#55590) · 2d345148
      Fisher 提交于
      graph_compiler_util.h/cc:
      整合GraphCompiler与ParallelCompiler共同持有的数据结构CompilationStage、CompilationStatus、CompilationContext、CompilationResult
      Parallel Compiler:
      整合数据结构至CompilationContext
      支持分阶段编译,通过指定CompilationContext::Stage
      添加编译状态信息,包括状态CompilationResult::Status和信息CompilationResult::message
      一个Task对应一个fusion_group,每一阶段编译完成后,将编译结果放入CompilationResult数组的对应下标中,删去原Task中内部的局部变量,省去了MergeResult
      Graph Compiler:
      丰富CompilationResult,提供编译各阶段的中间结果
      整合数据结构至CompilationContext
      添加编译状态信息,包括状态CompilationResult::Status和信息CompilationResult::message
      启用单测
      其他:相关单测、前端接口、paddle2cinn适配CompilationContext
      2d345148
  2. 29 6月, 2023 1 次提交
  3. 27 6月, 2023 1 次提交
    • 6
      Code merge | Merge CINN into Paddle (#54749) · 67c69dca
      6clc 提交于
      * feat(cmake): add cmake of cinn
      
      * feat(cmake): add cmake of cinn python test
      
      * feat(cmake): add jit
      
      * feat(cmake): test/CMakeList.txt
      
      * feat(cmake): rebase to develop
      
      * feat(cmake): remove some flags
      
      * fix(cmake): fix cinn's gflags depends
      
      * feat(cmake): add ci scripts of cinn
      
      * feat(cmake): copy code of cinn
      
      * fix(cmake): fix cinn third_party model path
      
      * gflags dynamic dependce
      
      * fix ci build_demo
      
      * tmp update to c++17 of cinn-only test
      
      * fix cinn only with c++17
      67c69dca