swage
Turn variable-sized dense segments into efficient GPU tile tasks. Python-embedded MLIR/LLVM GPU compiler
What XERJ indexed
Snapshot
The whole repository at commit d8d270a6f7 (2026-10-14). main is 68 commits ahead.
Selected work

“Preserve launch cleanup and reset compile flights after fork”. 8 files, 1,847 lines in tests, python.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does swage handle “Preserve launch cleanup and reset compile flights after fork”?
- What does python do in swage?
Inside the indexed corpus
- 559 files, 48.2 MB in total, about 88.3 KB per file.
- The selected commit changed 8 of those files (1.4%).
- Languages by size: Python 66.5%, MLIR 16.7%, C++ 13.9%, TeX 1%, C 0.8%.
- On GitHub since 2026-08-18, last push 2026-10-15, 638 commits on main.
- The pin is 68 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for abhiksark/swage on 2026-10-31, and the LICENSE file at commit d8d270a6f7 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Abhik Sarkar (@abhiksark) has 1 selected repository on the hub.
Using XERJ with swage
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones abhiksark/swage at the pinned commit and indexes it on your machine.
Search the GitHub repository abhiksark/swage with XERJ (https://hub.xerj.org/corpus/abhiksark--swage). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/abhiksark/swage swage && git -C swage checkout d8d270a6f788bf4412db38e5cfb8e5f75ee3ec1e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./swage --url http://127.0.0.1:9200 --prefix swage --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Abhik SarkarAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.