Loom: A GPU Compiler for Scalar Functions over Finite Index Maps
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:07 UTC · e6f29829a808 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "H9acTPBp3n"- }- ],- "title": "Loom: A GPU Compiler for Scalar Functions over Finite Index Maps",- "authors": [],- "abstract": "AI for science applications often mix two kinds of computations: dense matrix operations that benefit greatly from GPU architecture, and application of small scientific formula on an irregular, indexed data structure, that is a poor candidate for the modern GPU if implemented naively. During the evaluation of the scientific formula, separate kernels for indexed read, arithmetic and reductions may cost more time moving the intermediate arrays than the actual compute. We introduce Loom, a GPU compiler for scalar functions over finite index maps. The user supplies a fixed-shape JAX function and a description of where each array element lives; Loom fuses the computation into GPU kernels specialized around one contiguous axis of independent lanes for vectorization. It accepts declared algebraic constants such as $\\sqrt{3}/2$ and rewrites polynomial arithmetic so that it can apply exact cancellations. Loom lowers programs, including those built by JAX automatic differentiation, through StableHLO, generates many PTX implementations and selects one based on timing. We compare Loom to existing domain-specific libraries: on NVIDIA B200 and A100 GPUs, benchmarked for two sparse equivariant operations that are widely used in machine-learned interatomic potentials, Loom-generated hot kernels are up to approximately 2× faster. By lowering the optimization to the compiler level, Loom trades a costly first call, paid once per program, for fast kernels specific to the shapes of a given problem. Loom shows that specialized compilers can complement performance-driven domain-specific AI for science libraries.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "c8c4979b-064b-46f8-93f4-2a110393d4b5"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Loom: A GPU Compiler for Scalar Functions over Finite Index Maps",+ "authors": [],+ "abstract": "AI for science applications often mix two kinds of computations: dense matrix operations that benefit greatly from GPU architecture, and application of small scientific formula on an irregular, indexed data structure, that is a poor candidate for the modern GPU if implemented naively. During the evaluation of the scientific formula, separate kernels for indexed read, arithmetic and reductions may cost more time moving the intermediate arrays than the actual compute. We introduce Loom, a GPU compiler for scalar functions over finite index maps. The user supplies a fixed-shape JAX function and a description of where each array element lives; Loom fuses the computation into GPU kernels specialized around one contiguous axis of independent lanes for vectorization. It accepts declared algebraic constants such as $\\sqrt{3}/2$ and rewrites polynomial arithmetic so that it can apply exact cancellations. Loom lowers programs, including those built by JAX automatic differentiation, through StableHLO, generates many PTX implementations and selects one based on timing. We compare Loom to existing domain-specific libraries: on NVIDIA B200 and A100 GPUs, benchmarked for two sparse equivariant operations that are widely used in machine-learned interatomic potentials, Loom-generated hot kernels are up to approximately 2× faster. By lowering the optimization to the compiler level, Loom trades a costly first call, paid once per program, for fast kernels specific to the shapes of a given problem. Loom shows that specialized compilers can complement performance-driven domain-specific AI for science libraries.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}