Remove all operator fusion pattern detection logic from graph optimization to focus on reducing dependencies between operators in multi-stream scenarios. Key changes: - Remove fusion pattern matching for RMS_NORM+MUL, MUL_MAT+ADD, etc. - Remove match_pattern and keep_pattern helper functions - Simplify to two-pass approach: real nodes first, then view nodes - Focus on dependency analysis for better parallelism - Reduce code complexity by ~47% (235 lines -> 125 lines) This approach is inspired by the Vulkan backend implementation and prioritizes multi-stream parallelism over operator fusion, as fusion provides minimal performance benefits in the CANN backend. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cmake | ||
| include | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||