Skip to main content
Gitlab Build Status Github Build Status Python Package Index Release Page Zenodo DOI for latest release

Loopy lets you easily generate the tedious, complicated code that is necessary to get good performance out of GPUs and multi-core CPUs. Loopy’s core idea is that a computation should be described simply and then transformed into a version that gets high performance. This transformation takes place under user control, from within Python.

It can capture the following types of optimizations:

  • Vector and multi-core parallelism in the OpenCL/CUDA model

  • Data layout transformations (structure of arrays to array of structures)

  • Loop unrolling

  • Loop tiling with efficient handling of boundary cases

  • Prefetching/copy optimizations

  • Instruction level parallelism

  • and many more!

Loopy targets array-type computations, such as the following:

  • dense linear algebra,

  • convolutions,

  • n-body interactions,

  • PDE solvers, such as finite element, finite difference, and Fast-Multipole-type computations.

It is not (and does not want to be) a general-purpose programming language.

Loopy is licensed under the liberal MIT license and free for commercial, academic, and private use. All of Loopy’s dependencies can be automatically installed from the package index after using:

pip install loopy

In addition, Loopy is compatible with and enhances pyopencl.

—

Places on the web related to Loopy:

Metadata

Release files for loopy 2025.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loopy 2025.2
File Size Uploaded
loopy-2025.2.tar.gz 624.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for loopy 2025.2
File Interpreter ABI Platform
loopy-2025.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / loopy-2025.2.tar.gz

Download URL loopy-2025.2.tar.gz
Size 624.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4bbeebf3a9e37a589a92ac4434d9e60d1382529ff2d4a07a209b1ff51fdd9830
BLAKE2b-256 checksum
How to use checksums
05ed1b455d2fa2fd2c014f3533ca7b8bcbb387cc0679f2d145ac1666e4d40a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / loopy-2025.2-py3-none-any.whl

Download URL loopy-2025.2-py3-none-any.whl
Size 552.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a337be5ae09c56df5a7d09f24df20fa780c2e6daa25deb5d18f317cbdd54033
BLAKE2b-256 checksum
How to use checksums
d0efd2686194757335314db5c0b1d708902baac9d6e275479121a720fc5af3a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

2025.2 This release

2 release files

2024.1

1 release file

2020.2

1 release file

0.1.0-3

1 release file

0.1.0-2

1 release file

0.1.0-1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page