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.
Files changed (106) hide show
  1. loopty-0.1.0/.gitignore +72 -0
  2. loopty-0.1.0/CHANGELOG.md +2364 -0
  3. loopty-0.1.0/PKG-INFO +1001 -0
  4. loopty-0.1.0/README.md +966 -0
  5. loopty-0.1.0/docs/device-runs/device_demos.py +303 -0
  6. loopty-0.1.0/docs/device-runs/h200-cuda-commands.log +200 -0
  7. loopty-0.1.0/docs/device-runs/h200-cuda-device-demos.log +148 -0
  8. loopty-0.1.0/docs/device-runs/h200-cuda-reduction-probe.log +182 -0
  9. loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-commands.log +195 -0
  10. loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-device-demos.log +146 -0
  11. loopty-0.1.0/docs/device-runs/pocl-epyc-cpu-reduction-probe.log +182 -0
  12. loopty-0.1.0/docs/device-runs/reduction_probe.py +143 -0
  13. loopty-0.1.0/docs/device-runs.md +210 -0
  14. loopty-0.1.0/docs/loopy-notes.md +1386 -0
  15. loopty-0.1.0/docs/quickstart.md +504 -0
  16. loopty-0.1.0/examples/README.md +925 -0
  17. loopty-0.1.0/examples/composition.py +144 -0
  18. loopty-0.1.0/examples/fusion.py +160 -0
  19. loopty-0.1.0/examples/p2p.py +236 -0
  20. loopty-0.1.0/examples/pairs.py +160 -0
  21. loopty-0.1.0/examples/reshape_layouts.py +273 -0
  22. loopty-0.1.0/examples/spmv.py +286 -0
  23. loopty-0.1.0/examples/stencil_skew.py +171 -0
  24. loopty-0.1.0/examples/travel.py +295 -0
  25. loopty-0.1.0/examples/wavefront_acoustic.py +392 -0
  26. loopty-0.1.0/pyproject.toml +149 -0
  27. loopty-0.1.0/scripts/refresh_example_outputs.py +285 -0
  28. loopty-0.1.0/src/loopty/__init__.py +160 -0
  29. loopty-0.1.0/src/loopty/arr.py +825 -0
  30. loopty-0.1.0/src/loopty/cli.py +731 -0
  31. loopty-0.1.0/src/loopty/compose.py +2688 -0
  32. loopty-0.1.0/src/loopty/contract.py +1585 -0
  33. loopty-0.1.0/src/loopty/domain.py +1136 -0
  34. loopty-0.1.0/src/loopty/executor.py +830 -0
  35. loopty-0.1.0/src/loopty/faithful.py +882 -0
  36. loopty-0.1.0/src/loopty/flow.py +1705 -0
  37. loopty-0.1.0/src/loopty/hypotheses.py +1401 -0
  38. loopty-0.1.0/src/loopty/idx.py +570 -0
  39. loopty-0.1.0/src/loopty/interpret.py +1175 -0
  40. loopty-0.1.0/src/loopty/isl_reading.py +379 -0
  41. loopty-0.1.0/src/loopty/kernel.py +1015 -0
  42. loopty-0.1.0/src/loopty/lower.py +3836 -0
  43. loopty-0.1.0/src/loopty/operations.py +500 -0
  44. loopty-0.1.0/src/loopty/oracle.py +552 -0
  45. loopty-0.1.0/src/loopty/plugin.py +22 -0
  46. loopty-0.1.0/src/loopty/promotion.py +1104 -0
  47. loopty-0.1.0/src/loopty/reduction.py +27 -0
  48. loopty-0.1.0/src/loopty/schedule.py +6075 -0
  49. loopty-0.1.0/src/loopty/term.py +647 -0
  50. loopty-0.1.0/src/loopty/tolerance.py +147 -0
  51. loopty-0.1.0/src/loopty/trace.py +4397 -0
  52. loopty-0.1.0/src/loopty/typing.py +2354 -0
  53. loopty-0.1.0/tests/conftest.py +74 -0
  54. loopty-0.1.0/tests/hand_terms.py +492 -0
  55. loopty-0.1.0/tests/kernels/axpy.py +33 -0
  56. loopty-0.1.0/tests/kernels/domains.py +213 -0
  57. loopty-0.1.0/tests/kernels/out_of_bounds.py +24 -0
  58. loopty-0.1.0/tests/kernels/spmv_min.py +87 -0
  59. loopty-0.1.0/tests/kernels/stencil.py +47 -0
  60. loopty-0.1.0/tests/kernels/travel.py +251 -0
  61. loopty-0.1.0/tests/kernels/travel_wrong.py +509 -0
  62. loopty-0.1.0/tests/test_adversarial.py +326 -0
  63. loopty-0.1.0/tests/test_arithmetic.py +2803 -0
  64. loopty-0.1.0/tests/test_arr.py +184 -0
  65. loopty-0.1.0/tests/test_buildable.py +492 -0
  66. loopty-0.1.0/tests/test_cli.py +1383 -0
  67. loopty-0.1.0/tests/test_contract_bounds.py +224 -0
  68. loopty-0.1.0/tests/test_contraction.py +284 -0
  69. loopty-0.1.0/tests/test_declared_layout.py +1402 -0
  70. loopty-0.1.0/tests/test_domains.py +711 -0
  71. loopty-0.1.0/tests/test_examples.py +945 -0
  72. loopty-0.1.0/tests/test_executor.py +949 -0
  73. loopty-0.1.0/tests/test_executor_c.py +41 -0
  74. loopty-0.1.0/tests/test_faithful.py +577 -0
  75. loopty-0.1.0/tests/test_flow.py +500 -0
  76. loopty-0.1.0/tests/test_fusion.py +1523 -0
  77. loopty-0.1.0/tests/test_idx.py +191 -0
  78. loopty-0.1.0/tests/test_interpret.py +304 -0
  79. loopty-0.1.0/tests/test_isl_reading.py +611 -0
  80. loopty-0.1.0/tests/test_kernel.py +581 -0
  81. loopty-0.1.0/tests/test_lower.py +575 -0
  82. loopty-0.1.0/tests/test_lower_traced.py +1628 -0
  83. loopty-0.1.0/tests/test_oracle.py +351 -0
  84. loopty-0.1.0/tests/test_program.py +1795 -0
  85. loopty-0.1.0/tests/test_refresh_script.py +158 -0
  86. loopty-0.1.0/tests/test_schedule.py +2267 -0
  87. loopty-0.1.0/tests/test_smoke.py +109 -0
  88. loopty-0.1.0/tests/test_storage.py +610 -0
  89. loopty-0.1.0/tests/test_term.py +100 -0
  90. loopty-0.1.0/tests/test_trace.py +2438 -0
  91. loopty-0.1.0/tests/test_travel.py +1243 -0
  92. loopty-0.1.0/tests/test_typing.py +926 -0
  93. loopty-0.1.0/tests/test_work_items.py +596 -0
  94. loopty-0.0.1/.github/workflows/ci.yml +0 -30
  95. loopty-0.0.1/.github/workflows/publish.yml +0 -26
  96. loopty-0.0.1/.gitignore +0 -68
  97. loopty-0.0.1/PKG-INFO +0 -96
  98. loopty-0.0.1/README.md +0 -71
  99. loopty-0.0.1/pyproject.toml +0 -60
  100. loopty-0.0.1/src/loopty/__init__.py +0 -24
  101. loopty-0.0.1/src/loopty/cli.py +0 -24
  102. loopty-0.0.1/src/loopty/plugin.py +0 -74
  103. loopty-0.0.1/tests/test_smoke.py +0 -19
  104. loopty-0.0.1/uv.lock +0 -109
  105. {loopty-0.0.1 → loopty-0.1.0}/LICENSE +0 -0
  106. {loopty-0.0.1 → loopty-0.1.0}/src/loopty/py.typed +0 -0
@@ -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