Treffer: Portable Parallel Programs with Python and OpenCL.

Title:
Portable Parallel Programs with Python and OpenCL.
Source:
Computing in Science & Engineering; Jan2014, Vol. 16 Issue 1, p34-40, 7p
Database:
Complementary Index

Weitere Informationen

Two Python modules are presented: pyOpenCL, a library that enables programmers to write Open Common Language (OpenCL) code within Python programs; and ocl, a Python-to-C converter that lets developers write OpenCL kernels using the Python syntax. Like CUDA, OpenCL is designed to run on multicore GPUs. OpenCL code can also run on other architectures, including ordinary CPUs and mobile devices, always taking advantage of their multicore capabilities. Combining Python, numerical Python (numPy), pyOpenCL, and ocl creates a powerful framework for developing efficient parallel programs that work on modern heterogeneous architectures. Open Common Language (OpenCL) runs on multicore GPUs, as well as other architectures including ordinary CPUs and mobile devices. Combining OpenCL with numerical Python (numPy) and a new module--ocl, a Python-to-C converter that lets developers use Python to write OpenCL kernels--creates a powerful framework for developing efficient parallel programs for modern heterogeneous architectures. [ABSTRACT FROM AUTHOR]

Copyright of Computing in Science & Engineering is the property of IEEE and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)