Easy OpenCL with Python from Dr.Dobbs

PyOpenCLGaston Hillar over at Dr.Dobbs has published the first of a series of articles to help PyOpenCL developers create OpenCL host applications.  PyOpenCL is an open-source package (MIT license) that enables developers to easily access the OpenCL API from Python. The latest stable version of PyOpenCL provides features that make it one of the handiest OpenCL wrappers for Python enabling the creation of OpenCL kernels without leaving the Python environment. In this first article of a two-part series on PyOpenCL, Gaston explains how you can easily build and deploy an OpenCL kernel, that is, a function that executes on the GPU device. In the next article in this series, he will dive deep into more advanced features that reduce the code required to build and deploy OpenCL kernels for many common parallel algorithms.

Full article at: http://www.drdobbs.com/open-source/easy-opencl-with-python/240162614?pgno=1

Leave a Reply