Installation

Requirements

Python::OpenCL requires a working OpenCL platform to be built and run. Moreorver it is tightly integrated to the NumPy library as a Python backed for multi-dimensional arrays and scientific applications.

The library has been tested with the following platforms:

  • NVIDIA Conformant Release 1.0 on GNU/Linux.
  • AMD ATI Stream on GNU/Linux.

Build and install

Python::OpenCL is a simple Python library managed thanks to distutils. After grabbing its sources, you can simply build and install it using a classical:

$ python setup.py install

You may also want to specify include directories or library path with -I or -L. For more information, use the --help option.