• Pruthvi's avatar
    [MLIR] MatMulBias Fused Op support in MlIR (#4104) · 925087ba
    Pruthvi authored
    * - add fused_op.td to CmakeLists
    - define pattern to fuse Wx + b and to replace with MatMulBias
    
    * - remove table-gen LLVM_TARGET_DEFINATION for fused_ops_pattern.td,
    fused_ops.td
    - fix build issues
    
    * - change pattern to to match MatMul instead of Dot
    - support in CMake to register MatMulBias fused Op pattern
    
    * - made changes to fusion pattern to match Add( Dot (op1, op2), bias) for
    MatmulBias
    - use applyPatternsGreedily instead of applyFullConversion in the graph
    pass
    - add unit test inter v/s CPU for MatMulBias
    
    * - Affine lowering, verifier logic to NgMatMulBiasOp
    
    * add missing header file
    
    * - WIP, use NGGemm instead of NGMatMulBias
    
    * -undo unintended changes
    
    * Addressed PR comments
    
    * - refactor the ctor of the NgDialectFusion pass
    - register NgDialectFusion pass with the PassRegistration
    
    * Address PR comments
    
    * -add lit test for matmul+bias fusion
    
    * -style fix lit test
    Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
    925087ba
Name
Last commit
Last update
..
fused_ops.mlir Loading commit data...