llama.cpp/ggml/src/ggml-cann
hipudding a19c5a52ec cann: simplify graph optimization by removing operator fusion logic
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>
2026-02-10 06:56:07 +00:00
..
CMakeLists.txt CANN: add support for ACL Graph (#15065) 2025-08-06 14:12:42 +08:00
acl_tensor.cpp docs : Minor cleanups (#19252) 2026-02-02 08:38:55 +02:00
acl_tensor.h docs : Minor cleanups (#19252) 2026-02-02 08:38:55 +02:00
aclnn_ops.cpp docs : Minor cleanups (#19252) 2026-02-02 08:38:55 +02:00
aclnn_ops.h docs : Minor cleanups (#19252) 2026-02-02 08:38:55 +02:00
common.h optimize env conflicts 2026-02-06 02:51:43 +00:00
ggml-cann.cpp cann: simplify graph optimization by removing operator fusion logic 2026-02-10 06:56:07 +00:00