aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp/parameters.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Docs/source/running_cpp/parameters.rst')
-rw-r--r--Docs/source/running_cpp/parameters.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst
index 0121e7bf1..936dd262a 100644
--- a/Docs/source/running_cpp/parameters.rst
+++ b/Docs/source/running_cpp/parameters.rst
@@ -974,6 +974,10 @@ Numerics and algorithms
value here will make the simulation unphysical, but will allow QED effects to become more apparent.
Note that this option will only have an effect if the warpx.use_Hybrid_QED flag is also triggered.
+ * ``warpx.do_device_synchronize_before_profile`` (`bool`) optional (default `1`)
+ When running in an accelerated platform, whether to call a deviceSynchronize around profiling regions.
+ This allows the profiler to give meaningful timers, but (hardly) slows down the simulation.
+
* ``warpx.sort_int`` (`int`) optional (defaults: ``-1`` on CPU; ``4`` on GPU)
If ``<=0``, do not sort particles. If ``>0``, sort particles by bin every ``sort_int`` iteration.
It is turned on on GPUs for performance reasons (to improve memory locality).