Skip to content
Snippets Groups Projects
Commit 4716c97a authored by Frederik Hennig's avatar Frederik Hennig
Browse files

final adjustments to the docs

parent 3d44a19e
No related branches found
No related tags found
1 merge request!458HIP Target and Platform
Pipeline #76126 passed
...@@ -41,7 +41,7 @@ This requires a working installation of [Cupy](https://cupy.dev). ...@@ -41,7 +41,7 @@ This requires a working installation of [Cupy](https://cupy.dev).
Please refer to the cupy's [installation manual](https://docs.cupy.dev/en/stable/install.html) Please refer to the cupy's [installation manual](https://docs.cupy.dev/en/stable/install.html)
for details about installing cupy. for details about installing cupy.
You can also use Cupy together with AMD ROCm for AMD graphics cards, You can also use Cupy together with AMD ROCm and HIP for AMD graphics cards,
but the setup steps are a bit more complicated - you might have to build cupy from source. but the setup steps are a bit more complicated - you might have to build cupy from source.
The Cupy documentation covers this in their [installation guide for Cupy on ROCm][cupy-rocm]. The Cupy documentation covers this in their [installation guide for Cupy on ROCm][cupy-rocm].
......
...@@ -39,7 +39,7 @@ which operates much in the same way that [NumPy][numpy] works on CPU arrays. ...@@ -39,7 +39,7 @@ which operates much in the same way that [NumPy][numpy] works on CPU arrays.
Cupy and NumPy expose nearly the same APIs for array operations; Cupy and NumPy expose nearly the same APIs for array operations;
the difference being that CuPy allocates all its arrays on the GPU the difference being that CuPy allocates all its arrays on the GPU
and performs its operations as CUDA kernels. and performs its operations as CUDA kernels.
Also, CuPy exposes a just-in-time-compiler for GPU kernels, which internally calls [nvrtc]. Also, CuPy exposes a just-in-time-compiler for GPU kernels.
In pystencils, we use CuPy both to compile and provide executable kernels on-demand from within Python code, In pystencils, we use CuPy both to compile and provide executable kernels on-demand from within Python code,
and to allocate and manage the data these kernels can be executed on. and to allocate and manage the data these kernels can be executed on.
...@@ -271,5 +271,4 @@ only a part of the triangle is being processed. ...@@ -271,5 +271,4 @@ only a part of the triangle is being processed.
[cupy]: https://cupy.dev "CuPy Homepage" [cupy]: https://cupy.dev "CuPy Homepage"
[numpy]: https://numpy.org "NumPy Homepage" [numpy]: https://numpy.org "NumPy Homepage"
[nvrtc]: https://docs.nvidia.com/cuda/nvrtc/index.html "NVIDIA Runtime Compilation Library"
[cupy-docs]: https://docs.cupy.dev/en/stable/overview.html "CuPy Documentation" [cupy-docs]: https://docs.cupy.dev/en/stable/overview.html "CuPy Documentation"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment