dace-tactics 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. dace_tactics-0.1.2.dist-info/METADATA +224 -0
  2. dace_tactics-0.1.2.dist-info/RECORD +82 -0
  3. dace_tactics-0.1.2.dist-info/WHEEL +5 -0
  4. dace_tactics-0.1.2.dist-info/entry_points.txt +2 -0
  5. dace_tactics-0.1.2.dist-info/licenses/LICENSE +674 -0
  6. dace_tactics-0.1.2.dist-info/top_level.txt +3 -0
  7. reference_solutions/__init__.py +4 -0
  8. reference_solutions/bellman_ford.py +16 -0
  9. reference_solutions/bfs.py +23 -0
  10. reference_solutions/cloudsc_nproma.py +20 -0
  11. reference_solutions/column_scan_nlev_nproma.py +30 -0
  12. reference_solutions/conv2d_gn_scale_maxpool_clamp.py +26 -0
  13. reference_solutions/conv3d_gn_mean.py +26 -0
  14. reference_solutions/floyd_warshall.py +18 -0
  15. reference_solutions/fuse_physics_into_scan.py +18 -0
  16. reference_solutions/fuse_stencil_through_transient.py +15 -0
  17. reference_solutions/harris_corner.py +47 -0
  18. reference_solutions/hmm_forward.py +19 -0
  19. reference_solutions/icon_aes_graupel.py +17 -0
  20. reference_solutions/icon_velocity_tendencies.py +437 -0
  21. reference_solutions/pagerank.py +19 -0
  22. reference_solutions/permute_3d.py +28 -0
  23. reference_solutions/qe_vexx_k.py +15 -0
  24. reference_solutions/tsvc_2_s231.py +12 -0
  25. reference_solutions/tsvc_2_s233.py +14 -0
  26. reference_solutions/warpx_boris_push.py +24 -0
  27. tactics/__init__.py +11 -0
  28. tactics/build/__init__.py +2 -0
  29. tactics/build/arena.py +385 -0
  30. tactics/build/flags.py +114 -0
  31. tactics/build/grading.py +97 -0
  32. tactics/build/isolation.py +289 -0
  33. tactics/build/pass_moves.py +285 -0
  34. tactics/build/pipelines.py +142 -0
  35. tactics/build/sdfg.py +474 -0
  36. tactics/build/toolchain.py +507 -0
  37. tactics/corpus/__init__.py +2 -0
  38. tactics/corpus/bench.py +173 -0
  39. tactics/corpus/translate.py +32 -0
  40. tactics/ir/__init__.py +2 -0
  41. tactics/ir/accumulation.py +316 -0
  42. tactics/ir/comm.py +791 -0
  43. tactics/ir/dace_types.py +12 -0
  44. tactics/ir/depends.py +310 -0
  45. tactics/ir/emit_c.py +185 -0
  46. tactics/ir/emit_python.py +1281 -0
  47. tactics/ir/extract.py +284 -0
  48. tactics/ir/introspect.py +669 -0
  49. tactics/ir/loops.py +72 -0
  50. tactics/ir/names.py +362 -0
  51. tactics/ir/subtree.py +125 -0
  52. tactics/mcp_server.py +106 -0
  53. tactics/paths.py +7 -0
  54. tactics/plugin_record.py +57 -0
  55. tactics/records.py +91 -0
  56. tactics/replay.py +556 -0
  57. tactics/server.py +856 -0
  58. tactics/session.py +3281 -0
  59. tactics/stages/__init__.py +3 -0
  60. tactics/stages/authored.py +141 -0
  61. tactics/stages/canonicalize.py +202 -0
  62. tactics/stages/expand.py +183 -0
  63. tactics/stages/families.py +76 -0
  64. tactics/stages/feedback.py +196 -0
  65. tactics/stages/finalize.py +167 -0
  66. tactics/stages/gate.py +128 -0
  67. tactics/stages/kernel.py +532 -0
  68. tactics/stages/layout.py +220 -0
  69. tactics/stages/lib_motion.py +861 -0
  70. tactics/stages/moves.py +2772 -0
  71. tactics/stages/performance.py +267 -0
  72. tactics/stages/phases.py +40 -0
  73. tactics/stages/placement.py +257 -0
  74. tactics/stages/precision.py +97 -0
  75. tactics/stages/requests.py +318 -0
  76. tactics/stages/scopes.py +442 -0
  77. tactics/stages/sinking.py +406 -0
  78. tactics/stages/snapshot.py +211 -0
  79. tactics/stages/variants.py +184 -0
  80. tactics/stages/vectorize.py +103 -0
  81. tactics/wire.py +554 -0
  82. tactics_bench/__init__.py +245 -0
@@ -0,0 +1,224 @@
1
+ Metadata-Version: 2.4
2
+ Name: dace-tactics
3
+ Version: 0.1.2
4
+ Summary: Reproducible transformation-based agents and a harness for DaCe: tactics applied as legal moves, replayed as recipes.
5
+ Author-email: Yakup Budanaz <ybudanaz@ethz.ch>
6
+ License-Expression: GPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/spcl/tactics
8
+ Project-URL: Repository, https://github.com/spcl/tactics
9
+ Project-URL: Changelog, https://github.com/spcl/tactics/blob/main/CHANGELOG.md
10
+ Keywords: dace,sdfg,loop-nest,code-generation,compilers,autotuning,hpc,llm-agents
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Software Development :: Compilers
17
+ Requires-Python: >=3.12
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: numpy
21
+ Requires-Dist: pydantic>=2
22
+ Requires-Dist: pyyaml
23
+ Requires-Dist: sympy
24
+ Requires-Dist: opt-einsum>=3.0
25
+ Requires-Dist: dace-extended>=1.0.2
26
+ Requires-Dist: dace-relayout>=0.1.2
27
+ Requires-Dist: mcp>=2.3
28
+ Provides-Extra: fparena
29
+ Requires-Dist: fp-arena>=0.1.0; extra == "fparena"
30
+ Provides-Extra: bench
31
+ Requires-Dist: hpcagent-bench>=1.0.2; extra == "bench"
32
+ Dynamic: license-file
33
+
34
+ # Tactics
35
+
36
+ Tactics (formerly Tactics) lets an agent optimize a DaCe program only through legal, checked moves. A tactic is a
37
+ transformation rule (`tile-for`, `interchange-for`, `doall-fusion`, ...); a move applies one tactic to labeled rows
38
+ with its arguments; the ordered moves of an episode are its recipe, which replays the result. Install it with
39
+ `pip install dace-tactics` (PyPI refuses the name `tactics`) and import it as `tactics`.
40
+
41
+ Tactics optimizes whole DaCe programs on CPU and GPU. It canonicalizes a program, reshapes its loop nests with
42
+ legal moves, cuts it into kernels, places each kernel on a device, builds and sweeps each kernel, and reports what
43
+ to change next. Every kernel is checked against its Python oracle, the whole program against the benchmark's
44
+ reference.
45
+
46
+ Every stage has a deterministic default, so a run works with no agent, one agent or a human driving the same
47
+ `Session` API. Each call returns a typed record (`tactics/records.py`, frozen pydantic models).
48
+
49
+ | Stage | Decides | Default | Call |
50
+ |---|---|---|---|
51
+ | [1 Canonicalize](docs/stages.md#stage-1-canonicalize) | canonical parallel form (CPF) | DaCe canonicalization up to fusion | |
52
+ | [2 Moves](docs/stages.md#stage-2-moves) | fusion, fission, interchange, tiling, hoisting, layout, vectorization | canonicalization's fusion stage | `apply_move` |
53
+ | [3 Scopes](docs/stages.md#stage-3-scopes) | which regions become kernels | parallel maps; sequential and mixed loops whole; large maps split | `set_scope`, `unset_scope` |
54
+ | [4 Placement](docs/stages.md#stage-4-placement) | device per kernel | parallel on GPU, sequential on CPU | `place` |
55
+ | [5 Kernels](docs/stages.md#stage-5-kernels) | each kernel's code | CPF C++ (CPU) or CUDA (GPU) | `set_kernel_source` |
56
+ | [6 Variants](docs/stages.md#stage-6-variants) | compiler, FP mode, cost model | fastest variant that matches the oracle | `sweep` |
57
+ | [7 Feedback](docs/stages.md#stage-7-feedback) | what to try next | hints, whole-program and kernel times, offloading | `performance` |
58
+
59
+ ## Agents: the HPCAgent-Bench plugin
60
+
61
+ [plugin/tactics](plugin/tactics) is an HPCAgent-Bench plugin. Point `HPCAGENT_BENCH_USER_PLUGIN_DIRS` at it and
62
+ run the `tactics` packet; it sets the library input mode itself (`finalize` hands the judge a library). The
63
+ `tactics` packet exposes the moves phase; scopes, placement and kernel builds run their defaults in
64
+ `get_performance` and `finalize`, on a copy, so a score leaves the moves open. The `tactics-full` packet (alias
65
+ `tactics-two-stage`) is structured, then unstructured: the agent settles moves and scopes, placement fixes the
66
+ kernels, and the agent then writes and tunes them one at a time.
67
+ `tactics-subagents` hands each kernel to a `kernel-optimizer` subagent. `tactics-requests` is `tactics` with
68
+ `request_transformation`, which records a transformation no move offers ([design](docs/design/transformation-requests.md)).
69
+ `tactics-llvm` and `tactics-mlir` are the baselines that choose compiler passes instead of moves: the same program,
70
+ entry and library, every kernel built through the agent's `opt -passes=` or `polygeist-opt --pass-pipeline=` pipeline.
71
+ `tactics-passes` is the pass-move agent: named MLIR, then LLVM, passes applied one at a time, with the loops after
72
+ each move ([design](docs/design/mlir-llvm-agent.md)).
73
+ The skill page ([skills/tactics](plugin/tactics/skills/tactics/SKILL.md)) explains the tree and the moves. Each
74
+ tool is listed with MCP annotations: reads are read-only, `write_kernel` and `unset_scope` overwrite earlier work.
75
+
76
+ | Phase | Tools | Packets |
77
+ |---|---|---|
78
+ | structured (stages 1-2) | `get_cpf`, `view_tree`, `list_move_kinds`, `list_moves`, `apply_move`, `run_defaults` | both |
79
+ | any | `get_performance`, `finalize` | both |
80
+ | scopes, kernels, codegen | `set_scope`, `unset_scope`, `list_kernels`, `focus_kernel`, `read_kernel`, `write_kernel`, `tune_kernel` | `tactics-full` (`tactics-two-stage`), `tactics-subagents` |
81
+
82
+ `write_kernel`, `tune_kernel` and `get_performance` answer with `Session.performance()`: the whole program's time and
83
+ correctness, each kernel's device and the bytes moved between memories, and each kernel's time and share. Stages not
84
+ reached yet run with their defaults on a copy, each kernel built in the first configuration of the sweep so that two
85
+ measurements compare. The answer is reused until the program changes, and a kernel's until it does. Reads and moves
86
+ (`apply_move`, `run_defaults`) answer at once without a time and take no device slot; `get_performance`, `write_kernel`,
87
+ `tune_kernel` and `finalize` hold one. `finalize` builds the program in the bench C ABI, each kernel linked from its own
88
+ build (the sweep's winner by default), into the shared folder. The packet's `score`, `submit` and `profile` replace the
89
+ bench's: they take no code, and each sends the judge the library `finalize` built with its `workspace_bytes`, which that
90
+ library's scratch needs.
91
+
92
+ Every library call has its implementation from the start, the fastest this host has for the target, shown in the tree;
93
+ `pure` loops come only from `inline-library` or `set-library-implementation`, or where a call has nothing else.
94
+
95
+ A call stops when its client leaves or after `TOOL_TIMEOUT_S`, and the session keeps what it built and measured, so
96
+ repeating the call goes on from there. The route journals every change, and a session that dies is rebuilt from it.
97
+
98
+ [docs/README.md](docs/README.md) maps the code and the phases, and says how to add a move, a tool, a phase or a packet.
99
+
100
+ ## MCP server
101
+
102
+ `tactics-mcp KERNEL [--preset S] [--datatype float64] [--gpu]` serves the same tools over MCP (stdio) on one bench
103
+ kernel, for any MCP client. Each tool's input schema is its pydantic model's (`tactics/wire.py`), and its hints
104
+ (read-only, destructive) follow its effect. Inside the bench judge, the plugin serves the same tools as JSON-RPC at
105
+ `POST /tactics/mcp`, with the episode's identity in each call's `_meta`.
106
+
107
+ ## Quick start
108
+
109
+ ```bash
110
+ python examples/quickstart.py --device cpu --out quickstart_out
111
+ python examples/quickstart.py --device gpu --kernel jacobi_1d --out quickstart_jacobi
112
+ ```
113
+
114
+ It runs every default on an HPCAgent-Bench kernel at preset S and saves each stage's SDFG and tree, the kernel DAG, each
115
+ kernel's unit and library, the program's code, the winning variant and the feedback. On `fuse_diamond`, canonicalization
116
+ turns four sequential loops into one parallel map. A benchmark's reference solution is replayed with `python -m
117
+ tactics.replay reference_solutions/<kernel>.py` ([reference solutions](reference_solutions/README.md)).
118
+
119
+ ## The program as a tree
120
+
121
+ The agent reads the program as a tree of labeled rows and acts on it by label. For
122
+
123
+ ```python
124
+ @dace.program
125
+ def blur_steps(A: dace.float64[N], B: dace.float64[N], W: dace.float64[N, N], y: dace.float64[N]):
126
+ for t in range(T):
127
+ B[1:-1] = (A[:-2] + A[1:-1] + A[2:]) / 3.0
128
+ A[1:-1] = B[1:-1]
129
+ y[:] = W @ A
130
+ ```
131
+
132
+ `get_cpf` prints, every state closed:
133
+
134
+ ```text
135
+ SDFG 'blur_steps'
136
+ |- for0 _loop_it_0=0:T num_states=4
137
+ | `- state3 doalls=4 reads=['A', 'B'] writes=['A', 'B']
138
+ `- state2 doalls=1 reads=['A', 'W'] writes=['y']
139
+ ```
140
+
141
+ and `view_tree expand=[state3, doall3, doall4]` opens the time step's state and two of its doalls; `doall5` stays closed:
142
+
143
+ ```text
144
+ SDFG 'blur_steps'
145
+ |- for0 _loop_it_0=0:T num_states=4
146
+ | `- state3 reads=['A', 'B'] writes=['A', 'B']
147
+ | |- doall3 [_loop_it_1=0:N - 2] reads=['A'] writes=['A_slice_plus_A_slice'] num_states=1
148
+ | | : A_slice_plus_A_slice[_loop_it_1] = A[_loop_it_1] + A[_loop_it_1 + 1]
149
+ | | `- state4 reads=['A'] writes=['A_slice_plus_A_slice']
150
+ | |- doall4 [_loop_it_2=0:N - 2] reads=['A', 'A_slice_plus_A_slice'] writes=['A_slice_A_slice_plus_A_slice'] num_states=1
151
+ | | : A_slice_A_slice_plus_A_slice[_loop_it_2] = A_slice_plus_A_slice[_loop_it_2] + A[_loop_it_2 + 2]
152
+ | | `- state5 reads=['A', 'A_slice_plus_A_slice'] writes=['A_slice_A_slice_plus_A_slice']
153
+ | |- doall5 [_loop_it_3=0:N - 2] reads=['A_slice_A_slice_plus_A_slice'] writes=['B'] num_states=1
154
+ | `- lib_copy0 LIBNODE Copy [Auto] reads=['B'] writes=['A']
155
+ `- state2 doalls=1 reads=['A', 'W'] writes=['y']
156
+ ```
157
+
158
+ | row | is |
159
+ |---|---|
160
+ | `for<n> i=lo:hi` | a sequential loop; `if<n>` a branch, its arms `when <cond>` / `else` |
161
+ | `state<n>` | a dataflow graph; leaving it is a barrier: everything in it finishes before the next state starts |
162
+ | `doall<n> [i=lo:hi]` | a parallel loop (a map); `: ` lines are its body as Python, or as C after `view_tree c=[label]`; rows under it are the states of its body |
163
+ | `lib_<family><n> LIBNODE <Kind> [<implementation>]` | a library call (BLAS, FFT, reduce, copy, ...), a black-box doall |
164
+
165
+ Rows carry what they read and write (a state leaves out its own temporaries), and `doalls=<k>` on a closed state;
166
+ `get_work_depth` gives a row's work and depth on request. `expand` opens a state (its doalls as rows) or a doall
167
+ (its statements and body states); `collapse` closes any open row. Labels stay on their rows until a move consumes them.
168
+ The [skill page](plugin/tactics/skills/tactics/SKILL.md) has the full vocabulary and the moves.
169
+
170
+ ## Install and test
171
+
172
+ From PyPI (DaCe extended comes as `dace-extended`, imported as `dace`):
173
+
174
+ ```bash
175
+ pip install dace-tactics
176
+ ```
177
+
178
+ From a checkout of https://github.com/spcl/tactics:
179
+
180
+ ```bash
181
+ sudo bash scripts/setup_apt.sh # compilers, libomp, BLAS, binutils (Ubuntu)
182
+ export "$(bash scripts/setup_hptt.sh "$HOME/hptt" | tail -1)" # HPTT for tensor transposes; sets HPTT_ROOT
183
+ uv sync --extra bench --group dev # the bench, dev tools and FP-Arena
184
+ pre-commit install # ruff check, ruff format, headers
185
+ pytest -m "not integration and not cloudsc and not gpu and not vendor" # unit set, as CI runs it
186
+ pytest -m integration # compiles and runs; bench OpenMP env (CI)
187
+ pytest -m cloudsc # every phase on cloudsc_monolith vs the bench (CI)
188
+ ```
189
+
190
+ HPCAgent-Bench (`hpcagent-bench`), DaCe extended (`dace-extended`), dace-relayout and FP-Arena come from PyPI, in a
191
+ checkout as in a pip install. `python scripts/bump_deps.py [bench-branch]` points a checkout at the tip of a bench
192
+ branch instead (the nightly bench-tip CI job does this). Tactics is a user plugin of the bench (`plugin/tactics`, through
193
+ `HPCAGENT_BENCH_USER_PLUGIN_DIRS`); the bench never imports it. The plugin, its packets, optimizers, judge route
194
+ (`/tactics/<tool>`), `TACTICS_*` settings and record file (`tactics.json`) are all named `tactics`. Tactics assumes Linux.
195
+ A pip install of the bench does not ship the KernelBench submodule, so an ML kernel (`conv2d_*`) has no PyTorch
196
+ reference and its outputs go unchecked (`correct: null`). Point `HPCAGENT_BENCH_ML_KERNELBENCH_DIR` at an
197
+ initialized KernelBench checkout to check them.
198
+ Keep `HPTT_ROOT` set when building: on the CPU, DaCe lowers a top-level tensor transpose (8 of the 23 `conv2d_*`
199
+ kernels have one) only to HPTT, and without it the build stops with `SilentPureLowering`.
200
+
201
+ ## Layout
202
+
203
+ ```text
204
+ tactics/
205
+ session.py the one API over all stages
206
+ replay.py replay a benchmark's reference-solution script next to the default, timed and oracle-checked
207
+ records.py the typed answers and their status enums
208
+ stages/ canonicalize, moves, scopes, placement, kernel, variants, feedback, performance
209
+ ir/ extraction, the Python oracle, the kernel DAG, structure trees
210
+ build/ compile and link, compilers on PATH, FP flags, validate-and-time, fork isolation
211
+ corpus/ HPCAgent-Bench kernels and the oracle bridge
212
+ plugin/tactics/ the HPCAgent-Bench plugin: tools, judge route, method prompt
213
+ reference_solutions/ one reference-solution script per benchmark, replayed by tactics/replay.py
214
+ ```
215
+
216
+ More: [the structure tree, Tactics' IR](docs/ir.md), [Python oracle](docs/oracle.md), [kernel DAG](docs/depends.md),
217
+ [build and runtime linking](docs/build.md), [FP modes and cost models](docs/fp-and-vectorization.md). Contributors
218
+ follow [AGENTS.md](AGENTS.md).
219
+
220
+ ## References
221
+
222
+ - Stage 1 builds on *The Canonical Parallel Form as a Substrate for Parallelizing Compilers and Agentic
223
+ Optimizers*, which defines CPF.
224
+ - The benchmark kernels and references come from *HPCAgent-Bench*.
@@ -0,0 +1,82 @@
1
+ dace_tactics-0.1.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
2
+ reference_solutions/__init__.py,sha256=I4pt9EuIFf4MB0GN7p7KBh3gvkgK_hSTTpztofxLiz8,258
3
+ reference_solutions/bellman_ford.py,sha256=1nb5BZg3iZEm3dJ59hk43yb2XOEQtQjLEu1sad9Gmoo,572
4
+ reference_solutions/bfs.py,sha256=zYpoMGndBFsgqIQM3WvgmLezLp_84NMje4f-oVMXJZc,1187
5
+ reference_solutions/cloudsc_nproma.py,sha256=ZSpvaXPBWkcmJyeC6S3huRgPm4bsyn1a0gCOYzEYHDs,962
6
+ reference_solutions/column_scan_nlev_nproma.py,sha256=hhV_6IvU11rNR1a12jjtpUMQzh6Ff-C5KI8nC8b516o,1408
7
+ reference_solutions/conv2d_gn_scale_maxpool_clamp.py,sha256=_1eOb5UoXNZrKiqVyZFPYlgBhYsv-xWZ7lW2bO6dahw,1137
8
+ reference_solutions/conv3d_gn_mean.py,sha256=Kvya95knzyVzx_cRwoOJ8JDaBz_yrg-aKxxp41syJIE,1348
9
+ reference_solutions/floyd_warshall.py,sha256=xmzOzNSedSuYgYNQpKBKS8VDnPVdU7nVcNZpijpNxks,888
10
+ reference_solutions/fuse_physics_into_scan.py,sha256=v8-5rQpB9Ukc0owtg5Y877b_42jig7P4vKohqUx2aWE,741
11
+ reference_solutions/fuse_stencil_through_transient.py,sha256=3V6IZLPAKvKTkK6VstjM0tgAjdsH_wYPjYgEEPkbSfc,536
12
+ reference_solutions/harris_corner.py,sha256=GDHooTHeAdFj6Jb5jwaD_M1QOwY_WZzZ36dDaswmt-w,2031
13
+ reference_solutions/hmm_forward.py,sha256=4gwBNXObJHB_IRNbGxTnOo2LWpXLzXLlLnhL0K3RGWo,987
14
+ reference_solutions/icon_aes_graupel.py,sha256=W_oU_WB6o8m3p8eq3I-wRoR0s47BRxaegyZ-FtNaZTE,710
15
+ reference_solutions/icon_velocity_tendencies.py,sha256=eE9kO3uMHDQ0NeVJLVBEbA2XnEmtfnhvxyV_ZZSfJiQ,17246
16
+ reference_solutions/pagerank.py,sha256=b80Y28bPypW93xA-ae6vq-zTNI3MnzLf_4WmJAsRb6Q,935
17
+ reference_solutions/permute_3d.py,sha256=z7ZSVrOsRWB0M5wioow6VfFQptF-es-yx3ff1ZkRaHA,1297
18
+ reference_solutions/qe_vexx_k.py,sha256=fxHOk2gLqzSReWFy95dOeaotmGV3d3BT_FocveeSY58,574
19
+ reference_solutions/tsvc_2_s231.py,sha256=Tr8lNW9zIxg1JOY70bcn9upMqnXslcHMPeidNchg3sM,415
20
+ reference_solutions/tsvc_2_s233.py,sha256=jB5p-dWePDylg_HkOjGK83TOr7WQtJwuZ1jNNxMagVI,507
21
+ reference_solutions/warpx_boris_push.py,sha256=9r4A2Uv0ceXTM_BTHMzJpJYGOTwHKz9k5NnP2b4miik,1313
22
+ tactics/__init__.py,sha256=Stnjd3aveMmObvWr6hGVlV8aM51QtnOIY4tJTUCW8u4,484
23
+ tactics/mcp_server.py,sha256=eNkktGTLAoFyR6ASGPcX8ClSGoTRs5UgEFM83G97-6g,4363
24
+ tactics/paths.py,sha256=Wf75v86K4NYJ-L2VD6FQwCLxCpoZvvP9QH9J0gYPjzQ,256
25
+ tactics/plugin_record.py,sha256=nFAsEPAFZ5gkexXqumLS-EYjTk0yG-jrbQn9BBayaRs,2519
26
+ tactics/records.py,sha256=o1shLzkqfCnjiBkRYn8pGc-Cc1a3AhIUmqBK4CVox7g,3368
27
+ tactics/replay.py,sha256=SUzGa0UAyy7gU_uuXx0Hfbej5RuRJKCUexhQJpfZNck,22895
28
+ tactics/server.py,sha256=mqqxBLgqCfaB_HVZYjrrApgneeBvLtFEtE_f3ajFMQk,39936
29
+ tactics/session.py,sha256=FHKHbpTLDqUEugRJqc9q2kiYcx0GVwxokBYzGU8IEzU,163882
30
+ tactics/wire.py,sha256=SrEiUfuS8p5-1TxfVF_8jN2Vlg1y9DZKFd35Oxiu15s,24650
31
+ tactics/build/__init__.py,sha256=YCnKYxjB8Y_6uqX3UXG1nBJtp6qwMT-KPsYQFqCzHNM,97
32
+ tactics/build/arena.py,sha256=hctpzBLxQ-cSdKrlikxEtnhDgw9K4n9zR-v4ffYRpmU,16189
33
+ tactics/build/flags.py,sha256=yTl9Rk7LUuerWZlYvIlQXKjtxoK_rLmTko8PvUWEfZY,4375
34
+ tactics/build/grading.py,sha256=vOfXXIvuhAt2uqfAW9VmMT3rmlDAXWWXrOiuKgzhkF0,4323
35
+ tactics/build/isolation.py,sha256=UO6TDILoS8cJbJxeAMaMA8ok8Sry4rwdVQdCk0LVUA4,11519
36
+ tactics/build/pass_moves.py,sha256=HkcAScZXjXOjQ9GmI-KIMlacG4gECrdfU2PItHaoKjs,12771
37
+ tactics/build/pipelines.py,sha256=_vnSxwL1ZG9Vk6air3vlqRejFilypWRtPnaick8QNyw,7387
38
+ tactics/build/sdfg.py,sha256=OlG_glbAhTdTqTwCkWs0oUJZh4ayWtn6hPsqqN3l3is,22100
39
+ tactics/build/toolchain.py,sha256=Tx-z-WUq1Kj6nLUsXaI-0GfBAj41TEd_pNXCIzp9SGs,20959
40
+ tactics/corpus/__init__.py,sha256=YCnKYxjB8Y_6uqX3UXG1nBJtp6qwMT-KPsYQFqCzHNM,97
41
+ tactics/corpus/bench.py,sha256=hRxowggKl03CdrAsrWodajhvsuzrPpJr8nHlW4x9ASM,7888
42
+ tactics/corpus/translate.py,sha256=-A_KqdjzkEb5gcKjqkN4nQRLSOKdlyLOCdoyddwwJHw,1353
43
+ tactics/ir/__init__.py,sha256=YCnKYxjB8Y_6uqX3UXG1nBJtp6qwMT-KPsYQFqCzHNM,97
44
+ tactics/ir/accumulation.py,sha256=waRvLT5GQSMEORuU4rV102smF3eTubbu8rHo8CIocTI,15289
45
+ tactics/ir/comm.py,sha256=h3bX2m0mH5iiCwX5Mf_fIHsd7K_BK8H4UEcASAgHHTc,36501
46
+ tactics/ir/dace_types.py,sha256=z3OQL_B7nouTkdlPR2XTzn9si9Oc6LK-brmqaJm88Mw,431
47
+ tactics/ir/depends.py,sha256=H5YshZpCr43iT27GWWr-AscTegjc-mqL9aJnHG5wqFk,13512
48
+ tactics/ir/emit_c.py,sha256=Y0BGRa_4cyVUqzze2w_-UPYknNWzPA0D1gPIFBYMzak,9417
49
+ tactics/ir/emit_python.py,sha256=trQws0kKpfDFm--A-W62qE7dNwG5aXUx3QX7xqBtL98,65075
50
+ tactics/ir/extract.py,sha256=dlcJrJ8uSl7U2Jnl3pAGC67xggsJDvR7J9bcKFa1qd8,14305
51
+ tactics/ir/introspect.py,sha256=thMrQMV0Jc0wOcJPybt_w7VUJ___5wFP5y3WFJ59frU,31977
52
+ tactics/ir/loops.py,sha256=DKjPoV6l26IjIgOxmPIv7OUkxoJt--iPp-wSY-_xo94,3464
53
+ tactics/ir/names.py,sha256=Zs_mqStoWjQ47FIE_bFEt-9-qIeQifu9iYsccIuOAOI,16552
54
+ tactics/ir/subtree.py,sha256=WhWIWwk8j_N09fF7VMEZYnIcedxF3WDBl33c2cLghF8,5044
55
+ tactics/stages/__init__.py,sha256=feZPYlbKQ10uD7257fZNkRr1F42aAXG26AklMREGKzc,206
56
+ tactics/stages/authored.py,sha256=HGKTt55dyQK53LtS4LtKBsmvipyDnMgaQB5Vh1y3G-g,6433
57
+ tactics/stages/canonicalize.py,sha256=W4h-rGDjcJndQqiOQHQm13JUatbZRZekc8nOye4YPUk,10067
58
+ tactics/stages/expand.py,sha256=GlxbcMWbYvlpkexs4jRsfFtGPa7gEvhnzCpQ4VDK9kw,8643
59
+ tactics/stages/families.py,sha256=Z8udYvOIlT_9I_DqBxK1MOld4qFx8sp1zIzZ6NhKZzE,3384
60
+ tactics/stages/feedback.py,sha256=LsvjV1w8mn55lbsw6ZuUdsAqm8j23Jq8zHCHtj5izCk,8954
61
+ tactics/stages/finalize.py,sha256=SD7OO6g9iafHe0CGaM8TzcSj3WXk42AjSSI7mclYdEk,7458
62
+ tactics/stages/gate.py,sha256=XPppWCCKBd42olSzY0zt2f7HQtj7z2ktJ3TyGvz5XfY,6047
63
+ tactics/stages/kernel.py,sha256=NcLe2luyY9v1KQ7Dkl4ecr3Lr-IHHO3qIGnYQ94mbs4,22895
64
+ tactics/stages/layout.py,sha256=LP3Qu7MhCV1wjWjjCcYFSepKb_JjZlDCBIcu7xJpn7k,9339
65
+ tactics/stages/lib_motion.py,sha256=AZZRHlKx5ikhnxEq5CNbBkv7en30aq2JQTveqpdTyn0,42443
66
+ tactics/stages/moves.py,sha256=V54XBaFcwi3QuOZEKFwBYyfQi-Q8Avisrp39ks8-6p8,135558
67
+ tactics/stages/performance.py,sha256=O3o0YGfNTKM9ieblExfaKpLESJncbM9HI4UD90UWY_E,10758
68
+ tactics/stages/phases.py,sha256=8TfOeLZfKjoT-DuZCeBllzXXaacBeNRkr7A_QP4-Ez8,1756
69
+ tactics/stages/placement.py,sha256=JiJPXd2aB6RLJzjqGTUtUHMC5cRsLiK3I05C_32h1iY,12348
70
+ tactics/stages/precision.py,sha256=_l5U1_fkz4nUbdQpwGvKYSj7hJRdA5ePYHzLpszkjHE,4712
71
+ tactics/stages/requests.py,sha256=FCpiaeLmEiKNgpvZedlECCDVZysb0r9uApXzWmWWQ_c,15528
72
+ tactics/stages/scopes.py,sha256=TnTSo9EMcZ3w03VL8LyNXPMJCwH_aYoX7SwM-NbGBIw,21022
73
+ tactics/stages/sinking.py,sha256=y6QoWao2_0bMlesgXdYIbiujqLJP6sWwjX6rLqK4PAk,19572
74
+ tactics/stages/snapshot.py,sha256=NjCdHi5MhGQugK7KcHxmoJpdG6rlaNqxc4lzePlFm4A,10304
75
+ tactics/stages/variants.py,sha256=dOzmLDQBrznKGDNIkvBc9rkQpTh7cZY9UtzkvLaUn5A,7062
76
+ tactics/stages/vectorize.py,sha256=HhGXnY1SzE2iAF_W26g0NxYwbLmhMEun5vGM4gusp00,4653
77
+ tactics_bench/__init__.py,sha256=_EWryDdBva73BofkecsyH_0aMm13tJ1ULr_ek7V9kaQ,11313
78
+ dace_tactics-0.1.2.dist-info/METADATA,sha256=TuGJs9ssGNTk7wSSjynkU84hlcaF0AmoQ4rr_X2G_ow,13741
79
+ dace_tactics-0.1.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
80
+ dace_tactics-0.1.2.dist-info/entry_points.txt,sha256=PStxlZAE06fe7gD0ExYSCO-5CxDrXGfEPvAM3Hhz0bM,56
81
+ dace_tactics-0.1.2.dist-info/top_level.txt,sha256=ezM595SI_7ZPRgAjNnqzahTrYbOwM2KHNYmkWy8WSOE,42
82
+ dace_tactics-0.1.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tactics-mcp = tactics.mcp_server:main