aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2018-12-05 14:49:43 -0800
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2018-12-05 14:49:43 -0800
commitcd5a275052994d28375b272983e977b8027691b0 (patch)
tree2aa091ccc81842eb93aac4eac66f735c5f8bfa49 /Docs/source/running_cpp
parentbf5c0ea097a0a7e7c34a084898ac0cd9810c1b65 (diff)
downloadWarpX-cd5a275052994d28375b272983e977b8027691b0.tar.gz
WarpX-cd5a275052994d28375b272983e977b8027691b0.tar.zst
WarpX-cd5a275052994d28375b272983e977b8027691b0.zip
added warning for optimized gather and deposition on GPU
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r--Docs/source/running_cpp/parameters.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst
index e7aaaf14b..6660f0196 100644
--- a/Docs/source/running_cpp/parameters.rst
+++ b/Docs/source/running_cpp/parameters.rst
@@ -376,6 +376,12 @@ Numerics and algorithms
- ``2``: Direct deposition, vectorized
- ``3``: Direct deposition, non-optimized
+ .. warning::
+
+ The vectorized versions do not run on GPU. Use
+ ``algo.current_deposition=1`` or ``3`` when running
+ on GPU.
+
* ``algo.charge_deposition`` (`integer`)
The algorithm for the charge density deposition:
@@ -387,6 +393,10 @@ Numerics and algorithms
- ``0``: Vectorized version
- ``1``: Non-optimized version
+ .. warning::
+
+ The vectorized version does not run on GPU. Use
+ ``algo.field_gather=1`` when running on GPU.
* ``algo.particle_pusher`` (`integer`)
The algorithm for the particle pusher: