Skip to content
Snippets Groups Projects
Commit 9a9936e4 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Update compiler and installation guidance (closes #10 on gitlab)

parent 9df5aef5
No related branches found
No related tags found
No related merge requests found
...@@ -36,11 +36,15 @@ spirit of its sister project `PyCUDA <http://mathema.tician.de/software/pycuda>` ...@@ -36,11 +36,15 @@ spirit of its sister project `PyCUDA <http://mathema.tician.de/software/pycuda>`
* Broad support. PyOpenCL was tested and works with Apple's, AMD's, and Nvidia's * Broad support. PyOpenCL was tested and works with Apple's, AMD's, and Nvidia's
CL implementations. CL implementations.
What you'll need: Simple 4-step `install instructions <https://documen.tician.de/pyopencl/misc.html#installation>`_
using Conda on Linux and macOS (that also install a working OpenCL implementation!)
can be found in the `documentation <https://documen.tician.de/pyopencl/>`_.
* gcc/g++ at or newer than version 4.8.2 and binutils at or newer than 2.23.52.0.1-10 What you'll need if you do *not* want to use the convenient instructions above and
(CentOS version number). instead build from source:
On Windows, use the `mingwpy <https://anaconda.org/carlkl/mingwpy>`_ compilers.
* gcc/g++ new enough to be compatible with pybind11
(see their `FAQ <https://pybind11.readthedocs.io/en/stable/faq.html>`_)
* `numpy <http://numpy.org>`_, and * `numpy <http://numpy.org>`_, and
* an OpenCL implementation. (See this `howto <http://wiki.tiker.net/OpenCLHowTo>`_ for how to get one.) * an OpenCL implementation. (See this `howto <http://wiki.tiker.net/OpenCLHowTo>`_ for how to get one.)
...@@ -48,7 +52,8 @@ Places on the web related to PyOpenCL: ...@@ -48,7 +52,8 @@ Places on the web related to PyOpenCL:
* `Python package index <http://pypi.python.org/pypi/pyopencl>`_ (download releases) * `Python package index <http://pypi.python.org/pypi/pyopencl>`_ (download releases)
* `Documentation <http://documen.tician.de/pyopencl>`_ (read how things work)
* `Conda Forge <https://anaconda.org/conda-forge/pyopencl>`_ (download binary packages for Linux, macOS, Windows)
* `C. Gohlke's Windows binaries <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl>`_ (download Windows binaries) * `C. Gohlke's Windows binaries <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl>`_ (download Windows binaries)
* `Github <http://github.com/inducer/pyopencl>`_ (get latest source code, file bugs) * `Github <http://github.com/inducer/pyopencl>`_ (get latest source code, file bugs)
* `Documentation <http://documen.tician.de/pyopencl>`_ (read how things work)
* `Wiki <http://wiki.tiker.net/PyOpenCL>`_ (read installation tips, get examples, read FAQ) * `Wiki <http://wiki.tiker.net/PyOpenCL>`_ (read installation tips, get examples, read FAQ)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment