Skip to main content
Gitlab Build Status Github Build Status Python Package Index Release Page

(Also: Travis CI to build binary wheels for releases, see #264)

PyOpenCL lets you access GPUs and other massively parallel compute devices from Python. It tries to offer computing goodness in the spirit of its sister project PyCUDA:

  • Object cleanup tied to lifetime of objects. This idiom, often called RAII in C++, makes it much easier to write correct, leak- and crash-free code.

  • Completeness. PyOpenCL puts the full power of OpenCL’s API at your disposal, if you wish. Every obscure get_info() query and all CL calls are accessible.

  • Automatic Error Checking. All CL errors are automatically translated into Python exceptions.

  • Speed. PyOpenCL’s base layer is written in C++, so all the niceties above are virtually free.

  • Helpful and complete Documentation as well as a Wiki.

  • Liberal license. PyOpenCL is open-source under the MIT license and free for commercial, academic, and private use.

  • Broad support. PyOpenCL was tested and works with Apple’s, AMD’s, and Nvidia’s CL implementations.

Simple 4-step install instructions using Conda on Linux and macOS (that also install a working OpenCL implementation!) can be found in the documentation.

What you’ll need if you do not want to use the convenient instructions above and instead build from source:

  • gcc/g++ new enough to be compatible with pybind11 (see their FAQ)

  • numpy, and

  • an OpenCL implementation. (See this howto for how to get one.)

Places on the web related to PyOpenCL:

Release files for pyopencl 2020.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 pyopencl 2020.2
File Size Uploaded
pyopencl-2020.2.tar.gz 351.6 kB Details

Release files / pyopencl-2020.2.tar.gz

Download URL pyopencl-2020.2.tar.gz
Size 351.6 kB
Tags Source
SHA-256 checksum
How to use checksums
afd9f22547bcd879b9e54252fc885b45034ebfd1890e630827f1afb408a03d23
BLAKE2b-256 checksum
How to use checksums
a1b5c32aaa78e76fefcb294f4ad6aba7ec592d59b72356ca95bcc4abfb98af3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

2022.1

7 release files

2021.2

5 release files

2021.1

8 release files

2020.3

1 release file

This release

2020.2 This release

1 release file

2020.1

7 release files

2018.2

1 release file

2018.1

1 release file

2017.2

1 release file

2017.1

1 release file

2016.2

1 release file

2016.1

1 release file

2015.2

1 release file

2015.1

1 release file

2014.1

1 release file

2013.2

1 release file

2013.1

1 release file

2012.1

1 release file

2011.2

1 release file

2011.1

1 release file

0.92

1 release file

0.91.5

1 release file

0.91.4

1 release file

0.91.3

1 release file

0.91.2

1 release file

0.91.1

1 release file

0.91

1 release file

0.90.4

1 release file

0.90.3

1 release file

0.90.2

1 release file

0.90.1

1 release file

0.90

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