Skip to content

Commit ca0aed0

Browse files
committed
added HIP documentation to INSTALL.rst
1 parent 2388be4 commit ca0aed0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

INSTALL.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,28 @@ Or you could install Kernel Tuner and PyOpenCL together if you haven't done so a
111111
112112
If this fails, please see the PyOpenCL installation guide (https://wiki.tiker.net/PyOpenCL/Installation)
113113

114+
HIP and PyHIP
115+
-------------
116+
117+
Before we can install PyHIP, you'll need to have the HIP runtime and compiler installed on your system.
118+
The HIP compiler is included as part of the ROCm software stack. Here is AMD's installation guide:
119+
120+
* `ROCm Documentation: HIP Installation Guide <https://docs.amd.com/bundle/HIP-Installation-Guide-v5.3/page/Introduction_to_HIP_Installation_Guide.html>`__
121+
122+
After you've installed HIP, you will need to install PyHIP. As of the writing of this documentation, PyHIP
123+
is not yet available on PyPI, meaning we will have to install it from GitHub.
124+
125+
Clone the GitHub repo:
126+
127+
.. code-block:: bash
128+
129+
git clone https://github.com/jatinx/PyHIP
130+
131+
Set the PYTHONPATH:
132+
133+
.. code-block:: bash
134+
135+
export PYTHONPATH=/path/to/pyhip:$PYTHONPATH
114136
115137
Installing the git version
116138
--------------------------

0 commit comments

Comments
 (0)