Skip to main content

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.

What you’ll need:

  • gcc/g++ at or newer than version 4.8.2 and binutils at or newer than 2.23.52.0.1-10 (CentOS version number). On Windows, use the mingwpy compilers.

  • numpy, and

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

Places on the web related to PyOpenCL:

Release files for pyopencl 2017.2.1

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 2017.2.1
File Size Uploaded
pyopencl-2017.2.1.tar.gz 356.7 kB Details

Release files / pyopencl-2017.2.1.tar.gz

Download URL pyopencl-2017.2.1.tar.gz
Size 356.7 kB
Tags Source
SHA-256 checksum
How to use checksums
508ffa9e9fe799dc929eae861d6555aff089ecd6e1c4a09156ecd688db07b778
BLAKE2b-256 checksum
How to use checksums
bbb668a44a7371e86d1fa4e929dbb420f5a20a1c7abec95b8f57244106622d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

2020.2

1 release file

2020.1

7 release files

2018.2

1 release file

2018.1

1 release file

This release

2017.2.1 This release

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