Skip to content

Commit fe7bad1

Browse files
committed
Installing HIP doc updated
1 parent 0ab790d commit fe7bad1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

INSTALL.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,23 @@ The HIP compiler is included as part of the ROCm software stack. Here is AMD's i
119119

120120
* `ROCm Documentation: HIP Installation Guide <https://docs.amd.com/bundle/HIP-Installation-Guide-v5.3/page/Introduction_to_HIP_Installation_Guide.html>`__
121121

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.
122+
After you've installed HIP, you will need to install PyHIP. Run the following command in your terminal to install:
124123

125-
Clone the GitHub repo:
124+
.. code-block:: bash
125+
126+
pip install pyhip-interface
127+
128+
Alternatively, you can install PyHIP from the source code. First, clone the repository from GitHub:
126129

127130
.. code-block:: bash
128131
129132
git clone https://github.com/jatinx/PyHIP
130133
131-
Set the PYTHONPATH:
134+
Then, navigate to the repository directory and run the following command to install:
132135

133136
.. code-block:: bash
134137
135-
export PYTHONPATH=/path/to/pyhip:$PYTHONPATH
138+
python setup.py install
136139
137140
Installing the git version
138141
--------------------------

0 commit comments

Comments
 (0)