Skip to content
Snippets Groups Projects

HIP Target and Platform

Merged Frederik Hennig requested to merge fhennig/hip-target into v2.0-dev
2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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"
Loading