Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
4716c97a
Commit
4716c97a
authored
3 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
final adjustments to the docs
parent
3d44a19e
No related branches found
No related tags found
1 merge request
!458
HIP Target and Platform
Pipeline
#76126
passed
3 months ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/source/installation.md
+1
-1
1 addition, 1 deletion
docs/source/installation.md
docs/source/user_manual/gpu_kernels.md
+1
-2
1 addition, 2 deletions
docs/source/user_manual/gpu_kernels.md
with
2 additions
and
3 deletions
docs/source/installation.md
+
1
−
1
View file @
4716c97a
...
@@ -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
]
.
...
...
This diff is collapsed.
Click to expand it.
docs/source/user_manual/gpu_kernels.md
+
1
−
2
View file @
4716c97a
...
@@ -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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment