Unverified Commit 3e92ef7a authored by Cagri Eryilmaz's avatar Cagri Eryilmaz Committed by GitHub
Browse files

change to readme for python import (#788)



* change to readme for python import

* added PYTHONPATH choice for using python module

* readability improvement
Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
parent 5c51dcea
......@@ -153,6 +153,27 @@ In the docker container, all the required prerequisites are already installed, s
libs](#building-migraphx-source-and-install-libs)
section to build MIGraphX source.
### Using MIGraphX Python Module
To use MIGraphX's Python module, please either set `PYTHONPATH` or use `.deb` package as explained below:
- Setting `PYTHONPATH` :
```
export PYTHONPATH=/opt/rocm/lib:$PYTHONPATH
```
- Creating and installing the package:
To create deb package:
```
make package
```
This will provide the path of .deb package.
To install:
```
dpkg -i <path_to_deb_file>
```
### Calling MIGraphX APIs
To use MIGraphX's C/C++ API in your cmake project, we need to set `CMAKE_PREFIX_PATH` to the MIGraphX
installation location and then do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment