TileOPs-Metax/tileops/ops/elementwise
Cao Ying c986df5407
[Refactor][POOL] strip over-design and scaffolding from the merged cleanup PRs (#1779)
## Summary

- Remove over-engineered pool hooks and private snapshot tests; make
indexed max-pool forwards explicit.
- Deduplicate GLA, Mamba, and formula tests; remove dead helpers,
commented benchmark rows, and process metadata.
- Consolidate benchmarks onto manifest workloads and
`ManifestBenchmark`; delete obsolete benchmark modules and factor
redundant sweep axes.
- Require implemented ops to declare `kernel_map` and manifest-driven
benchmark coverage, filling the corresponding manifest gaps.
- Reduce the repository by 2,415 net lines without changing runtime
operator behavior.

## Test plan

- [x] pre-commit passed
- [x] Pool tests passed: 246
- [x] Perf/formula and validator tests passed: 128
- [x] Changed benchmark modules collected: 538 nodes
- [x] Test node delta: 476 → 391 (-85)
- [x] `python scripts/validate_manifest.py --strict` passed

---------

Co-authored-by: Ibuki 🍃 — a wind born from GPTs <Ibuki-wind@users.noreply.github.com>
2026-07-27 10:05:38 +08:00
..
__init__.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
_base.py [Refactor][POOL] strip over-design and scaffolding from the merged cleanup PRs (#1779) 2026-07-27 10:05:38 +08:00
activations.py [Refactor][ELEMENTWISE] move strategy into kernel config; drop ctor kwarg (#1778) 2026-07-26 20:39:07 +08:00
alibi.py [Feat][Manifest] Promote special elementwise ops (#1656) 2026-07-07 14:37:40 +08:00
arithmetic.py [Refactor][ELEMENTWISE] move strategy into kernel config; drop ctor kwarg (#1778) 2026-07-26 20:39:07 +08:00
bitwise.py [Refactor][ELEMENTWISE] move strategy into kernel config; drop ctor kwarg (#1778) 2026-07-26 20:39:07 +08:00
clamp.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
comparison.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
logical.py [Refactor][ELEMENTWISE] move strategy into kernel config; drop ctor kwarg (#1778) 2026-07-26 20:39:07 +08:00
masked_fill.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
math_unary.py [Refactor][ELEMENTWISE] move strategy into kernel config; drop ctor kwarg (#1778) 2026-07-26 20:39:07 +08:00
nan_to_num.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
prelu.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00
sinusoidal.py [Feat][Manifest] Promote special elementwise ops (#1656) 2026-07-07 14:37:40 +08:00
where.py [Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764) 2026-07-26 12:59:48 +08:00