Skip to content

Commit 0ab790d

Browse files
committed
quick install HIP
1 parent c7e238e commit 0ab790d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

doc/source/index.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ To tune OpenCL kernels:
2727
- First, make sure you have an OpenCL compiler for your intended OpenCL platform
2828
- Then type: ``pip install kernel_tuner[opencl]``
2929

30-
Or both:
30+
To tune HIP kernels:
3131

32-
- ``pip install kernel_tuner[cuda,opencl]``
32+
- First, make sure you have an HIP runtime and compiler installed
33+
- Then type: ``pip install kernel_tuner[hip]``
34+
35+
Or all:
36+
37+
- ``pip install kernel_tuner[cuda,opencl,hip]``
3338

3439
More information about how to install Kernel Tuner and its
3540
dependencies can be found under :ref:`install`.

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def readme():
7676
"cuda": ["pycuda", "nvidia-ml-py", "pynvml>=11.4.1"],
7777
"opencl": ["pyopencl"],
7878
"cuda_opencl": ["pycuda", "pyopencl"],
79+
"hip": ["pyhip-interface"],
7980
"tutorial": ["jupyter", "matplotlib", "pandas"],
8081
"dev": [
8182
"numpy>=1.13.3",

0 commit comments

Comments
 (0)