inducer/loopy
A code generator for array-based code on CPUs and GPUs
Loopy applies symbolic transformation passes—loop tiling, unrolling, vectorization, and data layout restructuring—to high-level loop specifications, enabling fine-grained control over parallelization, memory access patterns, and instruction-level optimizations. It integrates with PyOpenCL and generates OpenCL/CUDA code targeting both GPUs and multi-core CPUs, while remaining domain-specific to dense array computations like linear algebra, convolutions, and PDE solvers.
626 stars and 6,604 monthly downloads. Used by 1 other package. Actively maintained with 13 commits in the last 30 days. Available on PyPI.
Stars
626
Forks
80
Language
Python
License
MIT
Category
Last pushed
Mar 12, 2026
Monthly downloads
6,604
Commits (30d)
13
Dependencies
11
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/inducer/loopy"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
symforce-org/symforce
Fast symbolic computation, code generation, and nonlinear optimization for robotics
alphaville/optimization-engine
Nonconvex embedded optimization: code generation for fast real-time optimization + ROS support
inducer/islpy
Python wrapper for isl, an integer set library
loco-3d/crocoddyl
Crocoddyl is an optimal control library for robot control under contact sequence. Its solver is...
inducer/pymbolic
A simple package to do symbolic math (focus on code gen and DSLs)