Skip to main content

Loopy lets you easily generate the tedious, complicated code that is necessary to get good performance out of GPUs and multi-core CPUs.


Places on the web related to Loopy:


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)

  • Loopy 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 loo.py

In addition, Loopy is compatible with and enhances pyopencl.

Metadata

Release files for loo.py 2016.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 loo.py 2016.2
File Size Uploaded Provenance Actions
loo.py-2016.2.tar.gz 345.2 kB Without provenance Details for loo.py-2016.2.tar.gz

Release files / loo.py-2016.2.tar.gz

Download URL loo.py-2016.2.tar.gz
Size 345.2 kB
Tags Source
SHA-256 checksum
How to use checksums
828c2afc56a50abb8d1c25e0944fd0b2de874e706c4e010acba03503e92e0792
BLAKE2b-256 checksum
How to use checksums
3fcfc46ec0b3eb2939c484f38513e4440bf3308127285e40fa987224c8ed36ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for loo.py 2016.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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