GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - inducer/loopy: A code generator for array-based code on CPUs and GPUs

BranchesTags
Open more actions menu

Latest commit

 

History

6,541 Commits
6,541 Commits

Folders and files

NameName
Last commit message
Last commit date
.basedpyright
.basedpyright
 
 
.ci
.ci
 
 
.github
.github
 
 
bin
bin
 
 
contrib
contrib
 
 
doc
doc
 
 
examples
examples
 
 
loopy
loopy
 
 
proto-tests
proto-tests
 
 
test
test
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.gitmodules
.gitmodules
 
 
.test-conda-env-py3.yml
.test-conda-env-py3.yml
 
 
AGENTS.md
AGENTS.md
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
MEMO
MEMO
 
 
README.rst
README.rst
 
 
asv.conf.json
asv.conf.json
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Loopy: Transformation-Based Generation of High-Performance CPU/GPU Code

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:

  • Python Package Index (download releases)
  • Documentation (read how things work)
  • Github (get latest source code, file bugs)
  • Homepage
  • Benchmarks

About

A code generator for array-based code on CPUs and GPUs

mathema.tician.de/software/loopy

Topics

arraycode-generationcode-generatorcode-optimizationcode-transformationcudaispcloop-optimizationmultidimensional-arraysopenclperformanceperformance-analysisprefix-sumpythonreductionscanscientific-computing

Resources

Readme
MIT license
Activity

Stars

640 stars

Watchers

18 watching

Forks

81 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.