loopty 0.0.1__tar.gz → 0.1.0__tar.gz
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.
- loopty-0.1.0/.gitignore +72 -0
- loopty-0.1.0/CHANGELOG.md +2364 -0
- loopty-0.1.0/PKG-INFO +1001 -0
- loopty-0.1.0/README.md +966 -0
- loopty-0.1.0/docs/device-runs/device_demos.py +303 -0
- loopty-0.1.0/docs/device-runs/h200-cuda-commands.log +200 -0
- loopty-0.1.0/docs/device-runs/h200-cuda-device-demos.log +148 -0
- loopty-0.1.0/docs/device-runs/h200-cuda-reduction-probe.log +182 -0
- loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-commands.log +195 -0
- loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-device-demos.log +146 -0
- loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-reduction-probe.log +182 -0
- loopty-0.1.0/docs/device-runs/reduction_probe.py +143 -0
- loopty-0.1.0/docs/device-runs.md +210 -0
- loopty-0.1.0/docs/loopy-notes.md +1386 -0
- loopty-0.1.0/docs/quickstart.md +504 -0
- loopty-0.1.0/examples/README.md +925 -0
- loopty-0.1.0/examples/composition.py +144 -0
- loopty-0.1.0/examples/fusion.py +160 -0
- loopty-0.1.0/examples/p2p.py +236 -0
- loopty-0.1.0/examples/pairs.py +160 -0
- loopty-0.1.0/examples/reshape_layouts.py +273 -0
- loopty-0.1.0/examples/spmv.py +286 -0
- loopty-0.1.0/examples/stencil_skew.py +171 -0
- loopty-0.1.0/examples/travel.py +295 -0
- loopty-0.1.0/examples/wavefront_acoustic.py +392 -0
- loopty-0.1.0/pyproject.toml +149 -0
- loopty-0.1.0/scripts/refresh_example_outputs.py +285 -0
- loopty-0.1.0/src/loopty/__init__.py +160 -0
- loopty-0.1.0/src/loopty/arr.py +825 -0
- loopty-0.1.0/src/loopty/cli.py +731 -0
- loopty-0.1.0/src/loopty/compose.py +2688 -0
- loopty-0.1.0/src/loopty/contract.py +1585 -0
- loopty-0.1.0/src/loopty/domain.py +1136 -0
- loopty-0.1.0/src/loopty/executor.py +830 -0
- loopty-0.1.0/src/loopty/faithful.py +882 -0
- loopty-0.1.0/src/loopty/flow.py +1705 -0
- loopty-0.1.0/src/loopty/hypotheses.py +1401 -0
- loopty-0.1.0/src/loopty/idx.py +570 -0
- loopty-0.1.0/src/loopty/interpret.py +1175 -0
- loopty-0.1.0/src/loopty/isl_reading.py +379 -0
- loopty-0.1.0/src/loopty/kernel.py +1015 -0
- loopty-0.1.0/src/loopty/lower.py +3836 -0
- loopty-0.1.0/src/loopty/operations.py +500 -0
- loopty-0.1.0/src/loopty/oracle.py +552 -0
- loopty-0.1.0/src/loopty/plugin.py +22 -0
- loopty-0.1.0/src/loopty/promotion.py +1104 -0
- loopty-0.1.0/src/loopty/reduction.py +27 -0
- loopty-0.1.0/src/loopty/schedule.py +6075 -0
- loopty-0.1.0/src/loopty/term.py +647 -0
- loopty-0.1.0/src/loopty/tolerance.py +147 -0
- loopty-0.1.0/src/loopty/trace.py +4397 -0
- loopty-0.1.0/src/loopty/typing.py +2354 -0
- loopty-0.1.0/tests/conftest.py +74 -0
- loopty-0.1.0/tests/hand_terms.py +492 -0
- loopty-0.1.0/tests/kernels/axpy.py +33 -0
- loopty-0.1.0/tests/kernels/domains.py +213 -0
- loopty-0.1.0/tests/kernels/out_of_bounds.py +24 -0
- loopty-0.1.0/tests/kernels/spmv_min.py +87 -0
- loopty-0.1.0/tests/kernels/stencil.py +47 -0
- loopty-0.1.0/tests/kernels/travel.py +251 -0
- loopty-0.1.0/tests/kernels/travel_wrong.py +509 -0
- loopty-0.1.0/tests/test_adversarial.py +326 -0
- loopty-0.1.0/tests/test_arithmetic.py +2803 -0
- loopty-0.1.0/tests/test_arr.py +184 -0
- loopty-0.1.0/tests/test_buildable.py +492 -0
- loopty-0.1.0/tests/test_cli.py +1383 -0
- loopty-0.1.0/tests/test_contract_bounds.py +224 -0
- loopty-0.1.0/tests/test_contraction.py +284 -0
- loopty-0.1.0/tests/test_declared_layout.py +1402 -0
- loopty-0.1.0/tests/test_domains.py +711 -0
- loopty-0.1.0/tests/test_examples.py +945 -0
- loopty-0.1.0/tests/test_executor.py +949 -0
- loopty-0.1.0/tests/test_executor_c.py +41 -0
- loopty-0.1.0/tests/test_faithful.py +577 -0
- loopty-0.1.0/tests/test_flow.py +500 -0
- loopty-0.1.0/tests/test_fusion.py +1523 -0
- loopty-0.1.0/tests/test_idx.py +191 -0
- loopty-0.1.0/tests/test_interpret.py +304 -0
- loopty-0.1.0/tests/test_isl_reading.py +611 -0
- loopty-0.1.0/tests/test_kernel.py +581 -0
- loopty-0.1.0/tests/test_lower.py +575 -0
- loopty-0.1.0/tests/test_lower_traced.py +1628 -0
- loopty-0.1.0/tests/test_oracle.py +351 -0
- loopty-0.1.0/tests/test_program.py +1795 -0
- loopty-0.1.0/tests/test_refresh_script.py +158 -0
- loopty-0.1.0/tests/test_schedule.py +2267 -0
- loopty-0.1.0/tests/test_smoke.py +109 -0
- loopty-0.1.0/tests/test_storage.py +610 -0
- loopty-0.1.0/tests/test_term.py +100 -0
- loopty-0.1.0/tests/test_trace.py +2438 -0
- loopty-0.1.0/tests/test_travel.py +1243 -0
- loopty-0.1.0/tests/test_typing.py +926 -0
- loopty-0.1.0/tests/test_work_items.py +596 -0
- loopty-0.0.1/.github/workflows/ci.yml +0 -30
- loopty-0.0.1/.github/workflows/publish.yml +0 -26
- loopty-0.0.1/.gitignore +0 -68
- loopty-0.0.1/PKG-INFO +0 -96
- loopty-0.0.1/README.md +0 -71
- loopty-0.0.1/pyproject.toml +0 -60
- loopty-0.0.1/src/loopty/__init__.py +0 -24
- loopty-0.0.1/src/loopty/cli.py +0 -24
- loopty-0.0.1/src/loopty/plugin.py +0 -74
- loopty-0.0.1/tests/test_smoke.py +0 -19
- loopty-0.0.1/uv.lock +0 -109
- {loopty-0.0.1 → loopty-0.1.0}/LICENSE +0 -0
- {loopty-0.0.1 → loopty-0.1.0}/src/loopty/py.typed +0 -0
loopty-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# Distribution / packaging
|
|
7
|
+
build/
|
|
8
|
+
dist/
|
|
9
|
+
sdist/
|
|
10
|
+
wheels/
|
|
11
|
+
*.egg-info/
|
|
12
|
+
*.egg
|
|
13
|
+
.eggs/
|
|
14
|
+
MANIFEST
|
|
15
|
+
|
|
16
|
+
# Virtual environments
|
|
17
|
+
.env
|
|
18
|
+
.venv/
|
|
19
|
+
venv/
|
|
20
|
+
env/
|
|
21
|
+
ENV/
|
|
22
|
+
|
|
23
|
+
# Testing / coverage
|
|
24
|
+
.pytest_cache/
|
|
25
|
+
.coverage
|
|
26
|
+
.coverage.*
|
|
27
|
+
coverage.xml
|
|
28
|
+
htmlcov/
|
|
29
|
+
.tox/
|
|
30
|
+
.nox/
|
|
31
|
+
.hypothesis/
|
|
32
|
+
|
|
33
|
+
# Type checkers / linters
|
|
34
|
+
.mypy_cache/
|
|
35
|
+
.dmypy.json
|
|
36
|
+
dmypy.json
|
|
37
|
+
.ruff_cache/
|
|
38
|
+
.pyre/
|
|
39
|
+
.pytype/
|
|
40
|
+
|
|
41
|
+
# uv
|
|
42
|
+
# (uv.lock is intentionally not ignored; it is committed for reproducible CI.)
|
|
43
|
+
|
|
44
|
+
# lanky's scratch directory, which loopty shares when it runs under `lanky check`
|
|
45
|
+
.lanky/
|
|
46
|
+
|
|
47
|
+
# Code generation and execution. The C target compiles a generated kernel and
|
|
48
|
+
# loads it back in, and loopy and pytools keep persistent caches. Those caches
|
|
49
|
+
# live under the user's cache directory by default, but the environment can
|
|
50
|
+
# point them into a checkout, and a compile that fails can leave its sources and
|
|
51
|
+
# object files where it ran.
|
|
52
|
+
.cache/
|
|
53
|
+
.codepy/
|
|
54
|
+
*.so
|
|
55
|
+
*.o
|
|
56
|
+
*.dylib
|
|
57
|
+
*.gen.c
|
|
58
|
+
loopy-tmp/
|
|
59
|
+
|
|
60
|
+
# Lean, reachable through lanky's optional oracle
|
|
61
|
+
.lake/
|
|
62
|
+
lake-packages/
|
|
63
|
+
*.olean
|
|
64
|
+
|
|
65
|
+
# Editors / OS
|
|
66
|
+
.idea/
|
|
67
|
+
.vscode/
|
|
68
|
+
*.swp
|
|
69
|
+
.DS_Store
|
|
70
|
+
|
|
71
|
+
# Jupyter
|
|
72
|
+
.ipynb_checkpoints
|